Skip to content

Commit

Permalink
Don't try to get database mapping if URL is invalid
Browse files Browse the repository at this point in the history
  • Loading branch information
soininen committed Oct 29, 2024
1 parent 905705c commit d4803ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spine_items/data_store/data_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ def _set_database_clean(self, db_map, clean):
db_map (DatabaseMapping): database mapping
clean (bool): True if database is clean, False otherwise
"""
if db_map is not self.get_db_map():
if self._url_validated and db_map is not self.get_db_map():
return
self._notify_about_dirtiness(clean)

Expand Down

0 comments on commit d4803ad

Please sign in to comment.