diff --git a/src/writer/core.py b/src/writer/core.py index c5fd79303..94364955b 100644 --- a/src/writer/core.py +++ b/src/writer/core.py @@ -1376,10 +1376,10 @@ def _transform_time_change(self, ev) -> str: return payload - def _transform_range_change(self, ev) -> tuple[int, int] | list[int]: + def _transform_range_change(self, ev) -> list[int]: payload = ev.payload - if not isinstance(payload, tuple) and not isinstance(payload, list): + if not isinstance(payload, list): raise ValueError("Range must be an array.") if len(payload) != 2: