Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion music21/converter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,10 @@ def _extractContents(self,
if 'META-INF' in subFp:
continue
# include .mxl to be kind to users who zipped up mislabeled files
if pathlib.Path(subFp).suffix not in ['.musicxml', '.xml', '.mxl']:
if pathlib.Path(subFp).suffix not in ['.musicxml',
'.xml',
'.mxl'] and subFp != '.xml':
# Noteflight bug for untitled files puts filename as just '.xml'
continue

post = f.read(subFp)
Expand Down