Compare commits

..

2 commits

Author SHA1 Message Date
f9cb1c9fdb 0.2 2024-05-04 17:03:21 +02:00
c114c2175f Gracefully handle words without audio 2024-05-04 17:02:23 +02:00

View file

@ -139,7 +139,7 @@ def einzelne_abfrage(palabra, status):
case 4: bien = Resultado.BIEN if resultado < 1 else Resultado.MAL
if 'audio' in palabra:
print(f" {bcolors.LINK_START}file://{AUDIO_BASE}{palabra['audio']}.aac{bcolors.LINK_MIDDLE}",end="")
else:
else
print(" ",end="")
if bien == Resultado.CORRECTO:
print(f"{bcolors.OKGREEN}{bcolors.ENDC}",end="")