Skip to content

Commit

Permalink
fix build 4
Browse files Browse the repository at this point in the history
  • Loading branch information
madeindjs committed Sep 29, 2024
1 parent 139cb7f commit e6c4bad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/writer/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e6c4bad

Please sign in to comment.