1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-07-07 09:50:07 +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:
Michael Pöhn 2022-10-13 10:53:25 +02:00
parent c1b665e3f9
commit 06b8150922

View File

@ -336,8 +336,6 @@ def get_config(opts=None):
if config is not None:
return config
config = {}
common.fill_config_defaults(config)
common.read_config(opts=opts)
# make sure these values are available in common.py even if they didn't