From b33b4a81fe42a64f301344489cb910e0b68ec7fd Mon Sep 17 00:00:00 2001 From: falkTX Date: Mon, 18 May 2020 01:01:40 +0100 Subject: [PATCH] Typo Signed-off-by: falkTX --- source/frontend/carla_host.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/frontend/carla_host.py b/source/frontend/carla_host.py index a0ba7bcc3..f7ee774f9 100644 --- a/source/frontend/carla_host.py +++ b/source/frontend/carla_host.py @@ -1559,7 +1559,7 @@ class HostWindow(QMainWindow): else: imgFormat = b"PNG" else: - if newPath.lower().endswith(".jpg"): + if newPath.lower().endswith((".jpg", ".jpeg")): imgFormat = b"JPG" else: imgFormat = b"PNG"