Commit b69d0686 authored by Fidel Alfaro Almagro's avatar Fidel Alfaro Almagro
Browse files


parent 37eb1370
......@@ -94,6 +94,7 @@ def bb_file_manager(logger, subject, check_existence, check_normalisation,
# Check the config file is correct. If not, correct it.
#keysToDele = [key for key in fileConfig if not os.path.exists(fileConfig[key])]
keysToDele = [key for key in fileConfig if ((not isinstance(fileConfig[key], list)) and (not os.path.exists(fileConfig[key])))]'Keys to delete: ' + str(keysToDele))
for key in keysToDele:
del fileConfig[key]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment