Clauses like config.get("used_modules",{}).get("assign",{})yield a AttributeError: 'NoneType' object has no attribute 'get' if the used_modules ist not included in the config file.
Maybe either add a check if config.get("used_modules",{})is not None for each time it is used, or check it once right after loading the config and update the file if it is not yet included?
Clauses like
config.get("used_modules",{}).get("assign",{})
yield aAttributeError: 'NoneType' object has no attribute 'get'
if the used_modules ist not included in the config file.Maybe either add a check if
config.get("used_modules",{})
is notNone
for each time it is used, or check it once right after loading the config and update the file if it is not yet included?