Fixed a bug where use of the blocking scheduler was not correctly logged
This commit is contained in:
parent
d21fd29dff
commit
b3659914cd
1 changed files with 1 additions and 1 deletions
|
@ -243,8 +243,8 @@ class WallpaperLogic(_ConfigLib):
|
||||||
for changing_time in range(len(self.config_changing_times)):
|
for changing_time in range(len(self.config_changing_times)):
|
||||||
clean_time = self._clean_times(changing_time)
|
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.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.")
|
logger.info("The blocking scheduler has been started.")
|
||||||
|
scheduler.start()
|
||||||
|
|
||||||
if self.config_systray:
|
if self.config_systray:
|
||||||
import wallman_systray as systray
|
import wallman_systray as systray
|
||||||
|
|
Loading…
Reference in a new issue