diff --git a/lambda/lexv2-build/handler.py b/lambda/lexv2-build/handler.py index 0e4f9efe9..014d4f53c 100644 --- a/lambda/lexv2-build/handler.py +++ b/lambda/lexv2-build/handler.py @@ -316,7 +316,7 @@ def translate_text(localeId, text): translatedText = text else: print(f"Utterance {text} too short to translate - using original.") - translatedUtterance = text + translatedText = text print(f"Translated utterance: {text} -> {translatedText}") return translatedText