Skip to content

Commit

Permalink
fix flake
Browse files Browse the repository at this point in the history
  • Loading branch information
TimFelixBeyer authored Jul 13, 2023
1 parent 4c5ee5f commit 9f35bbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion music21/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1256,7 +1256,7 @@ def purgeOrphans(self, excludeStorageStreams=True) -> None:
# of the site does not actually have this Music21Object in
# its elements list, it is an orphan and should be removed
# note: this permits non-site context Streams to continue
if s.isStream and not self in s:
if s.isStream and self not in s:
if excludeStorageStreams:
# only get those that are not Storage Streams
if ('SpannerStorage' not in s.classes
Expand Down

0 comments on commit 9f35bbb

Please sign in to comment.