From 2e5c2ca677929d49b056863fe608dabaeb0cc2d5 Mon Sep 17 00:00:00 2001 From: Elad Alfassa Date: Thu, 9 May 2013 10:04:45 +0300 Subject: [PATCH] [translate] Make sure we output English even if the text is too long --- translate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/translate.py b/translate.py index b6caf3ad6f..48d76f6303 100644 --- a/translate.py +++ b/translate.py @@ -173,7 +173,7 @@ def mangle(willie, trigger): try: phrase = translate(phrase[0], 'en', lang) except: - break + phrase = False if not phrase: phrase = backup break