Rename delete_completed_appointments and rearange arguments

This commit is contained in:
Sergi Delgado Segura
2019-11-11 13:27:57 +00:00
parent a1a1206e0c
commit 3c6f13ef00
2 changed files with 3 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ class Cleaner:
db_manager.delete_watcher_appointment(uuid)
@staticmethod
def delete_complete_appointment(appointments, locator_uuid_map, locator, uuid, db_manager):
def delete_completed_appointment(locator, uuid, appointments, locator_uuid_map, db_manager):
# Delete the appointment
appointment = appointments.pop(uuid)