mirror of
https://github.com/bellingcat/auto-archiver.git
synced 2026-06-12 13:18:28 +03:00
Tidy up imports + start on loading modules - program now starts much faster
This commit is contained in:
@@ -61,9 +61,6 @@ class LoadFromFile (argparse.Action):
|
||||
|
||||
def to_dot_notation(yaml_conf: str) -> argparse.ArgumentParser:
|
||||
dotdict = {}
|
||||
for step, vals in yaml_conf.pop('steps', {}).items():
|
||||
if vals:
|
||||
dotdict[f"{step}s"] = vals
|
||||
|
||||
def process_subdict(subdict, prefix=""):
|
||||
for key, value in subdict.items():
|
||||
|
||||
Reference in New Issue
Block a user