From 1372d7d034d10f5cf2fa3a106776708ebfa5613b Mon Sep 17 00:00:00 2001 From: Emma Nora Theuer Date: Mon, 27 May 2024 15:04:02 +0200 Subject: [PATCH] Add variable to the correct class --- wallman_lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wallman_lib.py b/wallman_lib.py index d793aca..97b8e53 100644 --- a/wallman_lib.py +++ b/wallman_lib.py @@ -41,7 +41,6 @@ class _ConfigLib: class ConfigValidity(_ConfigLib): def __init__(self): super().__init__() - self.chosen_wallpaper_set = False def _check_wallpapers_per_set_and_changing_times(self) -> None: # Check if the amount of wallpapers_per_set and given changing times match @@ -84,6 +83,7 @@ class ConfigValidity(_ConfigLib): class WallpaperLogic(_ConfigLib): def __init__(self): super().__init__() + self.chosen_wallpaper_set = False # Returns a list of a split string that contains a changing time from the config file def _clean_times(self, desired_time) -> list: