[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
1 changed files with 2 additions and 0 deletions

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