From d15ff23d4943505a678d3e40653cc9f25b15169d Mon Sep 17 00:00:00 2001 From: Joe R Date: Sun, 28 Jul 2024 12:45:24 -0400 Subject: [PATCH] Fix to support equivalent image file extensions --- pysollib/util.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pysollib/util.py b/pysollib/util.py index 10965fd2..048a43fe 100644 --- a/pysollib/util.py +++ b/pysollib/util.py @@ -85,14 +85,15 @@ CARDSET = _("cardset") IMAGE_EXTENSIONS = (".gif", ".ppm", ".png") if 1 and os.name == "nt": - IMAGE_EXTENSIONS = (".png", ".gif", ".ppm", ".jpg",) + IMAGE_EXTENSIONS = (".png", ".gif", ".ppm", ".jpg", ".jpeg",) pass if Image: - IMAGE_EXTENSIONS = (".png", ".gif", ".jpg", ".ppm", ".bmp") + IMAGE_EXTENSIONS = (".png", ".gif", ".jpg", ".jpeg", ".ppm", ".bmp") if TOOLKIT == 'kivy': - IMAGE_EXTENSIONS = (".png", ".bmp", ".ppm", ".jpg", ".tiff") + IMAGE_EXTENSIONS = (".png", ".bmp", ".ppm", ".jpg", ".jpeg", ".tif", + ".tiff") # ************************************************************************ # * DataLoader