diff --git a/controller.py b/controller.py index dbc88560..90cd93f5 100644 --- a/controller.py +++ b/controller.py @@ -577,7 +577,7 @@ def callbackSetCtranslate2WeightType(value): def callbackSetDeeplAuthKey(value): print("callbackSetDeeplAuthKey", str(value)) view.clearNotificationMessage() - if len(value) == 39: + if len(value) == 36 or len(value) == 39: result = model.authenticationTranslatorDeepLAuthKey(auth_key=value) if result is True: key = value