Simplify a check

merge-requests/64/head
Hugo Posnic 2017-05-22 22:02:20 +02:00
parent c014db236f
commit c0954ec31a
1 changed files with 1 additions and 5 deletions

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/"