Skip to content

Commit 55efe54

Browse files
committed
Prevent multiple image renders
1 parent 5ba0cc6 commit 55efe54

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

template/startup_scripts/0003_images.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,6 @@ def show_file(self, path: str, **options: Any) -> int:
1111

1212

1313
UnixViewer.show_file = show_file
14-
15-
original_show = UnixViewer.show
16-
17-
18-
def show(self, image, **options):
19-
display(image)
20-
original_show(self, image, **options)
21-
22-
23-
UnixViewer.show = show
24-
2514
original_save = Image.save
2615

2716

0 commit comments

Comments
 (0)