Fix some issues

This commit is contained in:
Hugo Posnic
2016-12-26 23:14:57 +01:00
parent 97940ebf78
commit 0722b4d864
2 changed files with 3 additions and 4 deletions
+2 -2
View File
@@ -27,14 +27,14 @@ class ManjaroHello():
self.locale_path = "/usr/share/locale/"
self.ui_path = "/usr/share/" + self.app + "/ui/"
self.desktop_path = "/usr/share/applications/" + self.app + ".desktop"
if not hasattr(self, 'logo_path'):
if not hasattr(self, "logo_path"):
self.logo_path = "/usr/share/" + self.app + "/data/img/manjaro.png"
else:
self.data_path = "data/"
self.locale_path = "locale/"
self.ui_path = "ui/"
self.desktop_path = os.getcwd() + "/" + self.app + ".desktop"
if not hasattr(self, 'logo_path'):
if not hasattr(self, "logo_path"):
self.logo_path = "data/img/manjaro.png"
self.config_path = self.home_path + "/.config/"
self.preferences_path = self.config_path + self.app + ".json"