🐛[bugfix] Model : Translation DeepL Pro版で認証できない問題を修正
This commit is contained in:
@@ -577,7 +577,7 @@ def callbackSetCtranslate2WeightType(value):
|
|||||||
def callbackSetDeeplAuthKey(value):
|
def callbackSetDeeplAuthKey(value):
|
||||||
print("callbackSetDeeplAuthKey", str(value))
|
print("callbackSetDeeplAuthKey", str(value))
|
||||||
view.clearNotificationMessage()
|
view.clearNotificationMessage()
|
||||||
if len(value) == 39:
|
if len(value) == 36 or len(value) == 39:
|
||||||
result = model.authenticationTranslatorDeepLAuthKey(auth_key=value)
|
result = model.authenticationTranslatorDeepLAuthKey(auth_key=value)
|
||||||
if result is True:
|
if result is True:
|
||||||
key = value
|
key = value
|
||||||
|
|||||||
Reference in New Issue
Block a user