From c0954ec31adfc86aa0e8aba4e0beeea8377b069c Mon Sep 17 00:00:00 2001 From: Hugo Posnic Date: Mon, 22 May 2017 22:02:20 +0200 Subject: [PATCH] Simplify a check --- src/manjaro_hello.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/manjaro_hello.py b/src/manjaro_hello.py index 8267f00..cbf9dc3 100644 --- a/src/manjaro_hello.py +++ b/src/manjaro_hello.py @@ -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/"