From 5f74ebb9338482f45f481ecc0d010776edf1e9bc Mon Sep 17 00:00:00 2001 From: Huluti Date: Wed, 28 Dec 2016 16:04:09 +0100 Subject: [PATCH] Remove unuseful condition for autostart state --- src/manjaro_hello.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/manjaro_hello.py b/src/manjaro_hello.py index 97fa460..253fe30 100644 --- a/src/manjaro_hello.py +++ b/src/manjaro_hello.py @@ -251,8 +251,7 @@ class ManjaroHello(): if name == "install": subprocess.Popen(["sudo", "-E", "calamares"]) elif name == "autostart": - autostart = True if action.get_active() else False - self.set_autostart(autostart) + self.set_autostart(action.get_active()) elif name == "about": dialog = self.builder.get_object("aboutdialog") dialog.run()