diff --git a/src/manjaro_hello.py b/src/manjaro_hello.py index c293925..cccded1 100644 --- a/src/manjaro_hello.py +++ b/src/manjaro_hello.py @@ -205,9 +205,9 @@ class ManjaroHello(): else: f.write(content.replace(i3_autostart, "#" + i3_autostart)) f.truncate() + self.autostart = autostart except OSError as e: print(e) - self.autostart = autostart def save_preferences(self): """Save preferences in config file."""