mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-14 23:12:46 +03:00
scanner: fix loading config.yml
With my last merge request I accidentally intoduced a bug where scanner.py stopped loading 'config.yml' because the helper functions from common.py get called in the wrong places. This change fixes this issue.
This commit is contained in:
parent
c1b665e3f9
commit
06b8150922
1 changed files with 0 additions and 2 deletions
|
@ -336,8 +336,6 @@ def get_config(opts=None):
|
||||||
if config is not None:
|
if config is not None:
|
||||||
return config
|
return config
|
||||||
|
|
||||||
config = {}
|
|
||||||
common.fill_config_defaults(config)
|
|
||||||
common.read_config(opts=opts)
|
common.read_config(opts=opts)
|
||||||
|
|
||||||
# make sure these values are available in common.py even if they didn't
|
# make sure these values are available in common.py even if they didn't
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue