From 4af5217d76b11df5017760e51d5a03f061fc4e63 Mon Sep 17 00:00:00 2001 From: cidoku Date: Mon, 24 Feb 2025 00:14:34 -0300 Subject: [PATCH] handle effects that aren't available --- gameview.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gameview.py b/gameview.py index 4874811..297c82e 100644 --- a/gameview.py +++ b/gameview.py @@ -559,6 +559,9 @@ class AOMovie(QtGui.QLabel): if exists(f): gif_path = f break + + if not exists(gif_path): + return self.use_pillow = pillow_modes[os.path.splitext(gif_path)[1]]