1
0
Fork 0
mirror of https://github.com/kastdeur/pipeband-music.git synced 2024-12-22 00:13:30 +01:00

[bin] scores2json: take first wword for time signatures

This commit is contained in:
Eric Teunis de Boone 2022-11-02 14:28:45 +01:00
parent 159efc9ca8
commit 0a8b5ebe4b

View file

@ -63,6 +63,8 @@ def read_config(config_path):
if 'partial' in tuneinfo:
tuneinfo['partial'] = tuneinfo['partial'].split(' ')[0]
if 'time' in tuneinfo:
tuneinfo['time'] = tuneinfo['time'].split(' ')[0]
return tuneinfo