diff --git a/gui/bitmapLoader.py b/gui/bitmapLoader.py index 4b2fc7c6c..a59b2e56b 100644 --- a/gui/bitmapLoader.py +++ b/gui/bitmapLoader.py @@ -88,7 +88,7 @@ class BitmapLoader(): except KeyError: print "Missing icon file from zip: {0}".format(path) else: - path = config.getPyfaPath('imgs\\' + location + "\\" + filename) + path = config.getPyfaPath('imgs' + os.sep + location + os.sep + filename) if os.path.exists(path): return wx.Image(path) diff --git a/gui/itemStats.py b/gui/itemStats.py index 5acbcaba7..87d2db411 100644 --- a/gui/itemStats.py +++ b/gui/itemStats.py @@ -879,7 +879,7 @@ class ItemEffects(wx.Panel): """ import os - file = config.getPyfaPath("eos\\effects\\%s.py" % event.GetText().lower()) + file = config.getPyfaPath(os.path.join("eos" , "effects", "%s.py" % event.GetText().lower())) if not os.path.isfile(file): open(file, 'a').close()