Skip to content

Commit 5542b07

Browse files
author
ProfOak
committed
fixed .jpg.jpg bug in gooey
1 parent 262f07b commit 5542b07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main-gui.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ def save_img():
2626
QMessageBox.StandardButton.Ok)
2727
return
2828

29-
if not (out_file.lower().endswith(".jpg") and
30-
out_file.lower().endswith(".png") and
29+
if not (out_file.lower().endswith(".jpg") or
30+
out_file.lower().endswith(".png") or
3131
out_file.lower().endswith(".jpeg")):
3232
out_file += ".jpg"
3333

0 commit comments

Comments
 (0)