Commit afc68db1 authored by Dan Pascu's avatar Dan Pascu

Changed statement for consistency

parent 65468ba2
......@@ -42,7 +42,7 @@ class ApplicationData(object):
from Foundation import NSApplicationSupportDirectory, NSSearchPathForDirectoriesInDomains, NSUserDomainMask
cls._cached_directory = os.path.join(NSSearchPathForDirectoriesInDomains(NSApplicationSupportDirectory, NSUserDomainMask, True)[0], u'Blink')
elif platform.system() == 'Windows':
cls._cached_directory = os.path.join(os.environ['APPDATA'], 'Blink').decode(sys.getfilesystemencoding())
cls._cached_directory = os.path.join(os.environ['APPDATA'].decode(sys.getfilesystemencoding()), u'Blink')
else:
cls._cached_directory = Path(u'~/.blink').normalized
return DirectoryContextManager(cls._cached_directory)
......
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