summaryrefslogtreecommitdiff
path: root/python/collaboration/examples/upload_everything.py
diff options
context:
space:
mode:
authorJosh Ferrell <josh@vector35.com>2026-04-15 11:21:40 -0400
committerJosh Ferrell <josh@vector35.com>2026-04-15 11:21:44 -0400
commitb4ccb82ea76b98457d9dc59424632ca412511ed4 (patch)
tree2eb4d7875181cee7b05413fa6dcdaea3a1d95981 /python/collaboration/examples/upload_everything.py
parentc08cf3f1eaa73a5171c27044100479998104d58a (diff)
[Python API] Replace bare "except:" with "except Exception:" to fix signal propagation
Diffstat (limited to 'python/collaboration/examples/upload_everything.py')
-rw-r--r--python/collaboration/examples/upload_everything.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/collaboration/examples/upload_everything.py b/python/collaboration/examples/upload_everything.py
index b6d638e7..83ab2a3d 100644
--- a/python/collaboration/examples/upload_everything.py
+++ b/python/collaboration/examples/upload_everything.py
@@ -107,7 +107,7 @@ def main():
with TqdmProgress(desc="", leave=False) as t:
with binaryninja.load(file, update_analysis=False, progress_func=lambda cur, max: t.progress(cur, max)) as bv:
project.upload_new_file(bv.file, folder, progress=lambda cur, max: t.progress(cur, max))
- except:
+ except Exception:
tqdm.write(traceback.format_exc())