Compare commits
2 commits
b6f42fbf97
...
b3659914cd
Author | SHA1 | Date | |
---|---|---|---|
|
b3659914cd | ||
|
d21fd29dff |
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -34,7 +34,7 @@ def on_quit(icon, item, callback):
|
|||
icon.stop()
|
||||
|
||||
|
||||
chdir("/etc/wallman/icons/systrayIcon")
|
||||
chdir("/etc/wallman/icons/")
|
||||
try:
|
||||
icon_image = Image.open("systrayIcon.jpg")
|
||||
except FileNotFoundError:
|
||||
|
|
Loading…
Reference in a new issue