Use XDG_CONFIG_HOME as fallback
This commit is contained in:
parent
ecd265de4f
commit
e25d8cabc4
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ env['PYTHONPATH'] = ':'.join(p for p in paths if p)
|
||||||
env['WEBOOB_WORKDIR'] = wd
|
env['WEBOOB_WORKDIR'] = wd
|
||||||
env['WEBOOB_BACKENDS'] = os.getenv('WEBOOB_LOCAL_BACKENDS',
|
env['WEBOOB_BACKENDS'] = os.getenv('WEBOOB_LOCAL_BACKENDS',
|
||||||
os.getenv('WEBOOB_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'))
|
modpath = os.getenv('WEBOOB_MODULES', os.path.join(project, 'modules'))
|
||||||
with open(os.path.join(wd, 'sources.list'), 'w') as f:
|
with open(os.path.join(wd, 'sources.list'), 'w') as f:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue