Merge pull request #28 from oberon2007/master

correction
merge-requests/64/head
Philip Müller 2016-12-31 11:45:53 +01:00 committed by GitHub
commit 58cbb3b307
1 changed files with 1 additions and 3 deletions

View File

@ -19,9 +19,7 @@ class ManjaroHello():
# Path vars # Path vars
self.home_path = os.path.expanduser("~") self.home_path = os.path.expanduser("~")
manjaro_logo = "/usr/share/icons/manjaro/green/64x64.png" self.logo_path = "/usr/share/icons/manjaro/green/64x64.png"
if os.path.isfile(manjaro_logo):
self.logo_path = manjaro_logo
if os.path.basename(sys.argv[0]) == self.app: if os.path.basename(sys.argv[0]) == self.app:
self.data_path = "/usr/share/" + self.app + "/data/" self.data_path = "/usr/share/" + self.app + "/data/"
self.locale_path = "/usr/share/locale/" self.locale_path = "/usr/share/locale/"