diff --git a/syncplay/messages.py b/syncplay/messages.py index a674c5a..75e5efe 100644 --- a/syncplay/messages.py +++ b/syncplay/messages.py @@ -10,7 +10,7 @@ def getMessage(locale, type_): if(messages.has_key(locale)): if(messages[locale].has_key(type_)): return messages[locale][type_] - elif(messages["en"].has_key(type_)): - return messages["en"][type_] + if(messages["en"].has_key(type_)): + return messages["en"][type_] else: raise KeyError() \ No newline at end of file