mirror of
https://github.com/aljazceru/python-teos.git
synced 2025-12-18 06:34:19 +01:00
Moves update_delete_locator_map functionality to its own method.
This commit is contained in:
@@ -118,6 +118,10 @@ class Cleaner:
|
|||||||
db_manager.delete_triggered_appointment_flag(uuid)
|
db_manager.delete_triggered_appointment_flag(uuid)
|
||||||
|
|
||||||
# Update / delete the locator map
|
# Update / delete the locator map
|
||||||
|
Cleaner.update_delete_locator_map(locator, uuid, db_manager)
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def update_delete_locator_map(locator, uuid, db_manager):
|
||||||
locator_map = db_manager.load_locator_map(locator)
|
locator_map = db_manager.load_locator_map(locator)
|
||||||
if locator_map is not None:
|
if locator_map is not None:
|
||||||
if uuid in locator_map:
|
if uuid in locator_map:
|
||||||
|
|||||||
Reference in New Issue
Block a user