From 30ca21c5d8c3a53e6dbeaf08742014686454287c Mon Sep 17 00:00:00 2001 From: Laurent Bachelier Date: Thu, 15 Mar 2012 18:51:18 +0100 Subject: [PATCH] Use the right default value for XDG_DATA_DIRS http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html --- weboob/core/ouiboube.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weboob/core/ouiboube.py b/weboob/core/ouiboube.py index f82c706e..7a08e63c 100644 --- a/weboob/core/ouiboube.py +++ b/weboob/core/ouiboube.py @@ -59,7 +59,7 @@ class Weboob(object): else: old_workdir = os.path.join(os.path.expanduser('~'), '.weboob') xdg_config_home = os.path.join(os.environ.get('XDG_CONFIG_HOME', os.path.join(os.path.expanduser('~'), '.config')), 'weboob') - xdg_data_home = os.path.join(os.environ.get('XDG_DATA_HOME', os.path.join(os.path.expanduser('~'), '.local')), 'share', 'weboob') + xdg_data_home = os.path.join(os.environ.get('XDG_DATA_HOME', os.path.join(os.path.expanduser('~'), '.local', 'share')), 'weboob') if os.path.isdir(old_workdir): self.logger.warning('You are using "%s" as working directory. Files are moved into %s and %s.'