Skip to content

Commit

Permalink
another crash
Browse files Browse the repository at this point in the history
  • Loading branch information
mrosseel committed Jan 29, 2024
1 parent 5e53bfc commit fc83311
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/PiFinder/catalogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def add(self, catalog: Catalog):
logging.warning(f"Catalog {catalog.catalog_code} already exists")

def remove(self, catalog_code: str):
self.__refresh_code_to_pos()
self._refresh_code_to_pos()
if catalog_code in self._code_to_pos:
self.catalogs.pop(self._code_to_pos[catalog_code])
self._code_to_pos = {}
Expand Down

0 comments on commit fc83311

Please sign in to comment.