Use the right default value for XDG_DATA_DIRS
http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
This commit is contained in:
parent
d806585109
commit
30ca21c5d8
1 changed files with 1 additions and 1 deletions
|
|
@ -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.'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue