fix path in settings.py also for windows
authorstack <stack@inventati.org>
Sat, 20 Apr 2013 18:08:23 +0000 (20:08 +0200)
committerstack <stack@inventati.org>
Sat, 20 Apr 2013 18:08:23 +0000 (20:08 +0200)
dboxswitch/settings.py

index b604488..6438107 100644 (file)
@@ -43,8 +43,8 @@ class Settings():
 
         self.appname = "dboxswitch"
         self.appversion = "0.1"
 
         self.appname = "dboxswitch"
         self.appversion = "0.1"
-        if os.path.isdir(os.path.join(__location__,"/icons")):
-            path = os.path.join(__location__,"/icons")
+        if os.path.isdir(os.path.join(__location__,"icons")):
+            path = os.path.join(__location__,"icons")
         else:
             path = ""
             try:
         else:
             path = ""
             try: