fix: 修复更新资产账号不成功的问题(末尾:)

pull/8698/head
Jiangjie.Bai 2 years ago committed by 老广
parent 9ff345747b
commit 40f8b99242

@ -255,6 +255,8 @@ def decrypt_password(value):
if len(cipher) != 2: if len(cipher) != 2:
return value return value
key_cipher, password_cipher = cipher key_cipher, password_cipher = cipher
if not all([key_cipher, password_cipher]):
return value
aes_key = rsa_decrypt_by_session_pkey(key_cipher) aes_key = rsa_decrypt_by_session_pkey(key_cipher)
aes = get_aes_crypto(aes_key, 'ECB') aes = get_aes_crypto(aes_key, 'ECB')
try: try:

Loading…
Cancel
Save