From 3f4f0aab82449389721b04748bf5ff6e3583ba92 Mon Sep 17 00:00:00 2001 From: edo-neo Date: Tue, 29 Oct 2024 12:04:28 +0100 Subject: [PATCH] Set machine status to "logged-in" by default Updated the default machine status from "offline" to "logged-in" in the ArchiveSynchronizer class. This ensures the correct initial status is set when the object is instantiated. --- src/components/archive_synchronizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/archive_synchronizer.py b/src/components/archive_synchronizer.py index f31d5a2..13ea82d 100644 --- a/src/components/archive_synchronizer.py +++ b/src/components/archive_synchronizer.py @@ -24,7 +24,7 @@ class ArchiveSynchronizer(Component): super().__init__(config=config, name=name, period=period, lazy=lazy, paused=paused, threaded=threaded) self.simulate = "--sim-archiver" in sys.argv #self.machine_status = "offline" - + self.machine_status = "logged-in" def config_changed(self): self.machine_id = self.config.machine_id