diff --git a/project_amber/config.py b/project_amber/config.py index a00f349..3f69484 100644 --- a/project_amber/config.py +++ b/project_amber/config.py @@ -34,8 +34,8 @@ class Config: print(ioerr.strerror) sys.exit(1) -for entry in vars(config): - if entry in loadedConfig: +for entry in dir(config): + if entry in loadedConfig and not entry.startswith("__"): setattr(config, entry, loadedConfig[entry])