Skip to content
Snippets Groups Projects
Commit e6eb87f5 authored by David Huss's avatar David Huss :speech_balloon:
Browse files

Fix inconsistency with initialize_config()

parent c97d6cdf
Branches
No related tags found
No related merge requests found
...@@ -67,7 +67,7 @@ def data_retention(): ...@@ -67,7 +67,7 @@ def data_retention():
logger.info('Starting data_retention() in {}'.format(APPLICATION_NAME)) logger.info('Starting data_retention() in {}'.format(APPLICATION_NAME))
# Initialize the configuration (create a default one if needed) # Initialize the configuration (create a default one if needed)
config = initialize_config(APPLICATION_NAME, DEFAULT_CONFIG, logger) config = initialize_config(logger)
logger.info('Will delete entries older than {} days (as set in config)'.format(config["retention"]["duration"])) logger.info('Will delete entries older than {} days (as set in config)'.format(config["retention"]["duration"]))
# Initialize the db, create a connection # Initialize the db, create a connection
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment