Fix issue with dropped classes

This commit is contained in:
Christian Wolf 2022-11-11 19:41:18 +01:00
parent 35edc622c1
commit 4493fa09ea

View File

@ -48,7 +48,13 @@ class ERReader:
break break
if found == -1: if found == -1:
raise Exception(f'Could not find the dance in the result file.') self.l.warn(f'Could not find the dance {tanz} in the result file for {gruppe} ({klasse}). This might mean that the competition was not carried out.')
return {
'gruppe': gruppe,
'klasse': klasse,
'tanz': tanz,
'finalisten': []
}
pass pass
# Extract the finalists # Extract the finalists