diff --git a/addon/appModules/splstudio/__init__.py b/addon/appModules/splstudio/__init__.py index 9f18d79b1..170603c65 100644 --- a/addon/appModules/splstudio/__init__.py +++ b/addon/appModules/splstudio/__init__.py @@ -1902,7 +1902,8 @@ def playlistSnapshots(self, obj: Any, end: Any, snapshotFlags: Optional[list[str # #55 (18.05): is this a complete snapshot? completePlaylistSnapshot = obj.IAccessibleChildID == 1 and end is None # Track count and total duration are always included. - snapshot = {} + # #155 (21.03): annotate snapshot map to avoid type annotation issues when assigning key/value pairs. + snapshot: dict[str, Any] = {} if snapshotFlags is None: snapshotFlags = [ flag for flag in splconfig.SPLConfig["PlaylistSnapshots"]