Skip to content

Commit

Permalink
Fix offset cast warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Eve-ning committed Nov 8, 2024
1 parent 5181655 commit 3580463
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reamber/o2jam/O2JMap.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def read_pkgs(pkgs: List[O2JEventPackage], init_bpm: float) -> O2JMap:

# We then assign all the offsets here
for note in notes:
note.offset = note_measure_dict[note.measure]
note.offset = int(note_measure_dict[note.measure])
if isinstance(note, O2JHold): # Special case for LN.
note.length = note_measure_dict[note.tail_measure] - note.offset

Expand Down

0 comments on commit 3580463

Please sign in to comment.