main: get_rules: remove progress bar

This commit is contained in:
Willi Ballenthin
2023-01-21 19:38:23 +01:00
parent 3dfd16c033
commit 67cfefd2df
7 changed files with 8 additions and 16 deletions

View File

@@ -161,7 +161,7 @@ def render_dictionary(doc: rd.ResultDocument) -> Dict[str, Any]:
# ==== render dictionary helpers
def capa_details(rules_path, file_path, output_format="dictionary"):
# load rules from disk
rules = capa.main.get_rules([rules_path], disable_progress=True)
rules = capa.main.get_rules([rules_path])
# extract features and find capabilities
extractor = capa.main.get_extractor(file_path, "auto", capa.main.BACKEND_VIV, [], False, disable_progress=True)