Simplify live condition

merge-requests/64/head
Hugo Posnic 2016-12-22 22:32:30 +01:00
parent d7ce6b1c3d
commit 3f0a7208a7
1 changed files with 3 additions and 4 deletions

View File

@ -91,8 +91,7 @@ class ManjaroHello():
self.builder.get_object("autostart").set_active(self.autostart) self.builder.get_object("autostart").set_active(self.autostart)
# Live systems # Live systems
if self.infos["live"]: if self.infos["live"] and os.path.isfile("/usr/bin/calamares"):
if os.path.isfile("/usr/bin/calamares"):
self.builder.get_object("installlabel").set_visible(True) self.builder.get_object("installlabel").set_visible(True)
self.builder.get_object("installgui").set_visible(True) self.builder.get_object("installgui").set_visible(True)