Skip to content

Commit

Permalink
notebook_patch_runners.py: keep original runner backup (for fl)
Browse files Browse the repository at this point in the history
  • Loading branch information
pthom committed Feb 23, 2025
1 parent 68cbdb9 commit e0e42ae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bindings/imgui_bundle/notebook_patch_runners.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ def app_function():
_run_app_function_and_display_image_in_notebook(app_function)
return patched_run

immapp_run_backup = immapp.run
immapp.run = patch_runner(immapp_run_backup)
immapp.run_original = immapp.run
immapp.run = patch_runner(immapp.run_original) # noqa

hello_imgui_run_backup = hello_imgui.run
hello_imgui.run = patch_runner(hello_imgui_run_backup)
hello_imgui.run_original = hello_imgui.run
hello_imgui.run = patch_runner(hello_imgui.run_original) # noqa

0 comments on commit e0e42ae

Please sign in to comment.