diff --git a/src/components/archive_synchronizer.py b/src/components/archive_synchronizer.py index 8a10742..ca3a616 100644 --- a/src/components/archive_synchronizer.py +++ b/src/components/archive_synchronizer.py @@ -58,7 +58,7 @@ class ArchiveSynchronizer(Component): if self.main_window is None: self.main_window = get_main_window() - if self.name != "remote_archiver_extra": + if self.name != "archive_synchronizer_extra": # MAIN SERVER bit_pos = 0 unsaved_records = Archive.select().where((Archive.archived == 0) | @@ -85,9 +85,9 @@ class ArchiveSynchronizer(Component): if save_ok: record.archived |= (1 << bit_pos) - self.log(f"({self.name}) id {record.id}:", "archived remotely", f"{(e - s):.3f}s") + self.log.info(f"({self.name}) id {record.id}: archived remotely") else: - self.log(f"({self.name}) id {record.id}:", "failed to archive remotely", f"{(e - s):.3f}s") + self.log.info(f"({self.name}) id {record.id}: failed to archive remotely") self.main_window.run_request.emit(record.save, [], {}) if self.hold_time > 0: