From: stack Date: Sat, 20 Apr 2013 18:08:23 +0000 (+0200) Subject: fix path in settings.py also for windows X-Git-Url: https://v.licheni.net/stack/code/dboxswitch.git/commitdiff_plain/89c94c14cc78f8027edc13750eda23c03a4435b2?ds=sidebyside fix path in settings.py also for windows --- diff --git a/dboxswitch/settings.py b/dboxswitch/settings.py index b604488..6438107 100644 --- a/dboxswitch/settings.py +++ b/dboxswitch/settings.py @@ -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: