Skip to content

Commit ba824f5

Browse files
authored
Update script.py
1 parent a9316c1 commit ba824f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Image_Viewing_GUI/script.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def next():
1818
global itemslist
1919
n=(n+1)%len(itemslist)
2020
img1 = itemslist[n]
21-
print(img1)
21+
2222
image = Image.open(path+"/"+img1)
2323
copy_image=image.copy()
2424
photo=ImageTk.PhotoImage(image)
@@ -32,7 +32,7 @@ def previous():
3232
global itemslist
3333
n=(n-1)%len(itemslist)
3434
img1 = itemslist[n]
35-
print(img1)
35+
3636
image = Image.open(path+"/"+img1)
3737
copy_image=image.copy()
3838
photo=ImageTk.PhotoImage(image)

0 commit comments

Comments
 (0)