use yaml config loader for country info

This commit is contained in:
Sarah Hoffmann
2021-09-04 00:22:21 +02:00
parent 28c98584c1
commit 8e1d4818ac
4 changed files with 7 additions and 8 deletions

View File

@@ -172,7 +172,7 @@ class Configuration:
search_paths = [self.project_dir, self.config_dir]
for path in search_paths:
if (path / filename).is_file():
if path is not None and (path / filename).is_file():
return path / filename
LOG.fatal("Configuration file '%s' not found.\nDirectories searched: %s",