Simplify a check

This commit is contained in:
Hugo Posnic 2017-05-22 22:02:20 +02:00
parent c014db236f
commit c0954ec31a

View File

@ -24,11 +24,7 @@ class ManjaroHello():
self.default_locale = "en"
# App vars
dev = False
for arg in sys.argv:
if arg == "--dev":
dev = True
dev = "--dev" in sys.argv
self.home_path = os.path.expanduser("~")
self.config_path = self.home_path + "/.config/"