parsers.py
: Change unsupported command print to warning
This commit is contained in:
parent
d95175754d
commit
4ad3c374f5
@ -303,7 +303,7 @@ def parse_tja_course_data(data: List[str]) -> Dict[str, List[TJAMeasure]]:
|
|||||||
current_branch = 'all'
|
current_branch = 'all'
|
||||||
|
|
||||||
else:
|
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
|
# Delete the last measure in the branch if no notes or events
|
||||||
# were added to it (due to preallocating empty measures)
|
# were added to it (due to preallocating empty measures)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user