Update config.py

This commit is contained in:
_ 2023-06-06 23:50:08 +02:00 committed by GitHub
parent c1f82c008d
commit fa367a3087
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,6 +129,7 @@ config = Config()
def read(): def read():
if not LOCATIONS.CONFIG_FILE.is_file(): if not LOCATIONS.CONFIG_FILE.is_file():
LOGGER.debug("Creating default config file.")
write() write()
config.read_from_config_file(LOCATIONS.CONFIG_FILE) config.read_from_config_file(LOCATIONS.CONFIG_FILE)