From 2a28094937d6fa6b89064ebba87ee39c3c3dc271 Mon Sep 17 00:00:00 2001 From: Andreas Preikschat Date: Sat, 30 Mar 2013 17:31:29 +0100 Subject: [PATCH] fixed encoding --- openlp/core/utils/applocation.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openlp/core/utils/applocation.py b/openlp/core/utils/applocation.py index 1791ab41c..ef045454a 100644 --- a/openlp/core/utils/applocation.py +++ b/openlp/core/utils/applocation.py @@ -168,11 +168,11 @@ def _get_os_dir_path(dir_type): return os.path.join(u'/usr', u'share', u'openlp') if XDG_BASE_AVAILABLE: if dir_type == AppLocation.ConfigDir: - return os.path.join(unicode(BaseDirectory.xdg_config_home, encoding), u'openlp') + return os.path.join(unicode(BaseDirectory.xdg_config_home), u'openlp') elif dir_type == AppLocation.DataDir: - return os.path.join(unicode(BaseDirectory.xdg_data_home, encoding), u'openlp') + return os.path.join(unicode(BaseDirectory.xdg_data_home), u'openlp') elif dir_type == AppLocation.CacheDir: - return os.path.join(unicode(BaseDirectory.xdg_cache_home, encoding), u'openlp') + return os.path.join(unicode(BaseDirectory.xdg_cache_home), u'openlp') if dir_type == AppLocation.DataDir: return os.path.join(unicode(os.getenv(u'HOME')), u'.openlp', u'data') return os.path.join(unicode(os.getenv(u'HOME')), u'.openlp')