diff --git a/capa/ghidra/capa_explorer.py b/capa/ghidra/capa_explorer.py index 0edb8f825..0eb22e4ad 100644 --- a/capa/ghidra/capa_explorer.py +++ b/capa/ghidra/capa_explorer.py @@ -360,8 +360,9 @@ def main(): return capa.main.E_EMPTY_REPORT user_choice = askChoice( # type: ignore [name-defined] # noqa: F821 - "Choose b/w bookmarks & comments", "preferred action:", ["bookmarks", "comments", "both", "none"], "both") - + "Choose b/w bookmarks & comments", "preferred action:", ["bookmarks", "comments", "both", "none"], "both" + ) + if user_choice == "bookmarks": for item in parse_json(capa_data): item.bookmark_functions()