Merge branch 'deepl_pro' into develop

This commit is contained in:
misyaguziya
2024-05-10 16:50:06 +09:00

View File

@@ -582,7 +582,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