Commit 65468ba2 authored by Dan Pascu's avatar Dan Pascu

Fixed issue with non-ascii home directories on UNIX platforms

parent 06d440fa
...@@ -44,7 +44,7 @@ class ApplicationData(object): ...@@ -44,7 +44,7 @@ class ApplicationData(object):
elif platform.system() == 'Windows': 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'], 'Blink').decode(sys.getfilesystemencoding())
else: else:
cls._cached_directory = Path('~/.blink').normalized cls._cached_directory = Path(u'~/.blink').normalized
return DirectoryContextManager(cls._cached_directory) return DirectoryContextManager(cls._cached_directory)
@classmethod @classmethod
......
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