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"