Skip to content

Commit

Permalink
conforms tuple to list before assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
nivlekp committed Mar 16, 2024
1 parent 1eb11b6 commit 2c8cd20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion abjad/score.py
Original file line number Diff line number Diff line change
Expand Up @@ -2577,7 +2577,7 @@ def __init__(
if isinstance(written_pitches, str):
written_pitches = [_ for _ in written_pitches.split() if _]
elif isinstance(written_pitches, type(self)):
written_pitches = written_pitches.written_pitches
written_pitches = list(written_pitches.written_pitches)
elif len(arguments) == 0:
written_pitches = [_pitch.NamedPitch(_) for _ in [0, 4, 7]]
written_duration = _duration.Duration(1, 4)
Expand Down

0 comments on commit 2c8cd20

Please sign in to comment.