Compare commits
2 commits
b5c027a01a
...
74a275b423
Author | SHA1 | Date | |
---|---|---|---|
|
74a275b423 | ||
|
83e6157cad |
2 changed files with 6 additions and 6 deletions
|
@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|||
|
||||
[project]
|
||||
name = "wallman"
|
||||
version = "1.3.2.1"
|
||||
version = "1.3.2.2"
|
||||
authors = [
|
||||
{name = "Emma Nora Theuer", email = "wallman@entheuer.de"},
|
||||
]
|
||||
|
|
|
@ -166,13 +166,13 @@ class WallpaperLogic(_ConfigLib):
|
|||
def _check_system_exitcode(self, code) -> bool:
|
||||
if code != 0:
|
||||
try:
|
||||
self.set_fallback_wallpaper()
|
||||
logger.error(f"The wallpaper {self.wallpaper_list[time_range]} has not been found, the fallback wallpaper has been set. Future wallpapers will still attempted to be set.")
|
||||
print(f"ERROR: The wallpaper {self.wallpaper_list[time_range]} has not been found, the fallback wallpaper has been set. Future wallpapers will still attempted to be set.")
|
||||
self._set_fallback_wallpaper()
|
||||
logger.error("The wallpaper attempted to be set has not been found, the fallback wallpaper has been set. Future wallpapers will still attempted to be set.")
|
||||
print("ERROR: The wallpaper attempted to be set has not been found, the fallback wallpaper has been set. Future wallpapers will still attempted to be set.")
|
||||
return False
|
||||
except ConfigError:
|
||||
logger.error(f"The wallpaper {self.wallpaper_list[time_range]} has not been found and no fallback wallpaper has been set. Future wallpapers will still attempted to be set.")
|
||||
print(f"ERROR: The wallpaper {self.wallpaper_list[time_range]} has not been found and no fallback wallpaper has been set. Future wallpapers will still attempted to be set.")
|
||||
logger.error("The wallpaper attempted to be set has not been found and no fallback wallpaper has been set. Future wallpapers will still attempted to be set.")
|
||||
print("ERROR: The wallpaper attempted to be set has not been found and no fallback wallpaper has been set. Future wallpapers will still attempted to be set.")
|
||||
return False
|
||||
else:
|
||||
return True
|
||||
|
|
Loading…
Reference in a new issue