Commit b28a5a87 authored by Dan Pascu's avatar Dan Pascu

Normalize path

parent 02911c96
......@@ -50,7 +50,7 @@ class ApplicationData(object):
@classmethod
def get(cls, resource):
return os.path.join(cls.directory, resource or u'')
return os.path.join(cls.directory, os.path.normpath(resource or u''))
class Resources(object):
......@@ -81,7 +81,7 @@ class Resources(object):
@classmethod
def get(cls, resource):
return os.path.join(cls.directory, resource or u'')
return os.path.join(cls.directory, os.path.normpath(resource or u''))
class IconManager(object):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment