mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-05 18:50:09 +02: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
@ -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…
Reference in New Issue
Block a user