Browse Source

fix config set not working with constants

Nick Sweeting 1 year ago
parent
commit
67c22b2df0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      archivebox/config/collection.py

+ 1 - 1
archivebox/config/collection.py

@@ -239,7 +239,7 @@ def load_all_config():
     
     
     for config_section in abx.pm.hook.get_CONFIGS().values():
     for config_section in abx.pm.hook.get_CONFIGS().values():
         config_section.__init__()
         config_section.__init__()
-        flat_config.update(config_section.model_dump())
+        flat_config.update(dict(config_section))
         
         
     return flat_config
     return flat_config