mirror of
https://github.com/bellingcat/auto-archiver.git
synced 2026-06-11 12:48:28 +03:00
Separate setup() and module_setup().
This commit is contained in:
@@ -242,6 +242,7 @@ class LazyBaseModule:
|
||||
default_config = dict((k, v['default']) for k, v in self.configs.items() if v.get('default'))
|
||||
config[self.name] = default_config | config.get(self.name, {})
|
||||
instance.setup(config)
|
||||
instance.module_setup()
|
||||
return instance
|
||||
|
||||
def __repr__(self):
|
||||
|
||||
Reference in New Issue
Block a user