From 52bc0856816d7e35308462f700948c8a2d4c8575 Mon Sep 17 00:00:00 2001 From: Hugo Posnic Date: Sun, 18 Dec 2016 14:02:37 +0100 Subject: [PATCH] Fix bug in autostart path --- src/manjaro_hello.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/manjaro_hello.py b/src/manjaro_hello.py index 3bff148..f4ebd89 100644 --- a/src/manjaro_hello.py +++ b/src/manjaro_hello.py @@ -23,11 +23,10 @@ class ManjaroHello(): self.ui_path = "/usr/share/" + self.app + "/ui/" self.desktop_path = "/usr/share/applications/" + self.app + ".desktop" else: - self.current_folder = os.getcwd() + "/" self.data_path = "data/" self.locale_path = "locale/" self.ui_path = "ui/" - self.desktop_path = self.current_folder[:-4] + self.app + ".desktop" + self.desktop_path = os.getcwd() + "/" + self.app + ".desktop" self.config_path = os.path.expanduser("~") + "/.config/" self.preferences_path = self.config_path + self.app + ".json"