Remove unuseful condition for autostart state

merge-requests/64/head
Huluti 2016-12-28 16:04:09 +01:00
parent ee770cd86d
commit 5f74ebb933
1 changed files with 1 additions and 2 deletions

View File

@ -251,8 +251,7 @@ class ManjaroHello():
if name == "install": if name == "install":
subprocess.Popen(["sudo", "-E", "calamares"]) subprocess.Popen(["sudo", "-E", "calamares"])
elif name == "autostart": elif name == "autostart":
autostart = True if action.get_active() else False self.set_autostart(action.get_active())
self.set_autostart(autostart)
elif name == "about": elif name == "about":
dialog = self.builder.get_object("aboutdialog") dialog = self.builder.get_object("aboutdialog")
dialog.run() dialog.run()