Remove waring about no config file

fdroid works fine without a config so there is no reason to warn about
it.
This commit is contained in:
Jochen Sprickerhof 2021-08-18 08:08:08 +02:00 committed by Hans-Christoph Steiner
parent 4cf48cc9c4
commit b62124853a

View file

@ -370,8 +370,6 @@ def read_config(opts=None):
with io.open(old_config_file, "rb") as fp:
code = compile(fp.read(), old_config_file, 'exec')
exec(code, None, config) # nosec TODO automatically migrate
else:
logging.warning(_("No config.yml found, using defaults."))
for k in ('mirrors', 'install_list', 'uninstall_list', 'serverwebroot', 'servergitroot'):
if k in config: