Commit da611a08 authored by Laurent Bachelier's avatar Laurent Bachelier 🐧
Browse files

local_run: Allow customizing where the modules are

parent 5f954e6f
......@@ -26,8 +26,9 @@
os.getenv('WEBOOB_BACKENDS',
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:
f.write("file://%s\n" % os.path.join(project, 'modules'))
f.write("file://%s\n" % modpath)
# Hide output unless there is an error
p = subprocess.Popen(
......
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