From 1aae96bfc2a0da6482a2de8e9a9c47bb03565d9f Mon Sep 17 00:00:00 2001 From: Hugo Posnic Date: Sun, 21 May 2017 17:51:08 +0200 Subject: [PATCH] Don't use self for a var --- src/manjaro_hello.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/manjaro_hello.py b/src/manjaro_hello.py index 926830f..923c263 100644 --- a/src/manjaro_hello.py +++ b/src/manjaro_hello.py @@ -18,16 +18,16 @@ class ManjaroHello(): def __init__(self): # App vars self.app = "manjaro-hello" - self.dev = False + dev = False for arg in sys.argv: if arg == "--dev": - self.dev = True + dev = True # Paths self.home_path = os.path.expanduser("~") self.config_path = self.home_path + "/.config/" - if not self.dev: + if not dev: self.data_path = "/usr/share/" + self.app + "/data/" self.locale_path = "/usr/share/locale/" ui_path = "/usr/share/" + self.app + "/ui/"