1
0
mirror of synced 2024-11-23 21:20:56 +01:00

parsers.py: Change unsupported command print to warning

This commit is contained in:
Viv 2024-02-10 18:13:37 -05:00
parent d95175754d
commit 4ad3c374f5

View File

@ -303,7 +303,7 @@ def parse_tja_course_data(data: List[str]) -> Dict[str, List[TJAMeasure]]:
current_branch = 'all'
else:
print(f"Ignoring unsupported command '{command}'")
warnings.warn(f"Ignoring unsupported command '{command}'")
# Delete the last measure in the branch if no notes or events
# were added to it (due to preallocating empty measures)