Commit e25d8cab authored by François Revol's avatar François Revol Committed by Romain Bignon
Browse files

Use XDG_CONFIG_HOME as fallback

parent ecd265de
......@@ -24,7 +24,7 @@
env['WEBOOB_WORKDIR'] = wd
env['WEBOOB_BACKENDS'] = os.getenv('WEBOOB_LOCAL_BACKENDS',
os.getenv('WEBOOB_BACKENDS',
os.path.expanduser('~/.config/weboob/backends')))
os.path.join(os.environ.get('XDG_CONFIG_HOME', os.path.join(os.path.expanduser('~'), '.config')), 'weboob', 'backends')))
modpath = os.getenv('WEBOOB_MODULES', os.path.join(project, 'modules'))
with open(os.path.join(wd, 'sources.list'), 'w') as f:
......
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