Don't use self for a var

This commit is contained in:
Hugo Posnic 2017-05-21 17:51:08 +02:00
parent 69d406b497
commit 1aae96bfc2

View File

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