diff --git a/plugin/py_modules/game_visuals.py b/plugin/py_modules/game_visuals.py index 65eb9be..23d9ffc 100644 --- a/plugin/py_modules/game_visuals.py +++ b/plugin/py_modules/game_visuals.py @@ -6,12 +6,15 @@ from pathlib import Path import re import struct -import xml.etree.ElementTree as ET +try: + import xml.etree.ElementTree as ET +except ImportError: # Decky's frozen Python ships no ``xml`` package; SVG rails are then skipped, PNG rails still work + ET = None def _static_svg(data): """Small authored rail vocabulary only: no code, raster, filters or references out.""" - if len(data) > 16384 or b' 16384 or b'