fixed Caiyun Translate

pull/174/head
Physton 2023-06-24 16:47:29 +08:00
parent 17e49fcfb5
commit ba135d1a48
1 changed files with 2 additions and 0 deletions

View File

@ -1878,7 +1878,9 @@ class Caiyun(Tse):
def decrypt(self, cipher_text: str) -> str:
_ciphertext = ''.join(list(map(lambda k: self.decrypt_dictionary[k], cipher_text)))
## modifyd
return base64.b64decode(_ciphertext).decode('utf-8', errors='ignore')
## modifyd
@Tse.time_stat
@Tse.check_query