Fixed a bug where use of the blocking scheduler was not correctly logged

This commit is contained in:
Emma Nora Theuer 2024-09-02 16:56:13 +02:00
parent d21fd29dff
commit b3659914cd

View file

@ -243,8 +243,8 @@ class WallpaperLogic(_ConfigLib):
for changing_time in range(len(self.config_changing_times)):
clean_time = self._clean_times(changing_time)
scheduler.add_job(self.set_wallpaper_by_time, trigger=CronTrigger(hour=clean_time[0], minute=clean_time[1], second=clean_time[2]))
scheduler.start()
logger.info("The blocking scheduler has been started.")
scheduler.start()
if self.config_systray:
import wallman_systray as systray