fix path in settings.py also for windows
[stack/code/dboxswitch.git] / dboxswitch / settings.py
index b604488..6438107 100644 (file)
@@ -43,8 +43,8 @@ class Settings():
 
         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: