From 06b815092230296e8b27e890823d81e86be69ebd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20P=C3=B6hn?= Date: Thu, 13 Oct 2022 10:53:25 +0200 Subject: [PATCH] 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. --- fdroidserver/common.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index c7df13e3..98d1052c 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -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