Fixed typo
This commit is contained in:
parent
83e6157cad
commit
74a275b423
1 changed files with 5 additions and 5 deletions
|
@ -166,13 +166,13 @@ class WallpaperLogic(_ConfigLib):
|
||||||
def _check_system_exitcode(self, code) -> bool:
|
def _check_system_exitcode(self, code) -> bool:
|
||||||
if code != 0:
|
if code != 0:
|
||||||
try:
|
try:
|
||||||
self.set_fallback_wallpaper()
|
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.")
|
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(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.")
|
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
|
return False
|
||||||
except ConfigError:
|
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.")
|
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(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.")
|
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
|
return False
|
||||||
else:
|
else:
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in a new issue