mirror of
https://github.com/Physton/sd-webui-prompt-all-in-one.git
synced 2026-01-26 19:29:56 +00:00
Update server.py
This commit is contained in:
@@ -1878,7 +1878,7 @@ class Caiyun(Tse):
|
||||
|
||||
def decrypt(self, cipher_text: str) -> str:
|
||||
_ciphertext = ''.join(list(map(lambda k: self.decrypt_dictionary[k], cipher_text)))
|
||||
return base64.b64decode(_ciphertext).decode()
|
||||
return base64.b64decode(_ciphertext).decode('utf-8', errors='ignore')
|
||||
|
||||
@Tse.time_stat
|
||||
@Tse.check_query
|
||||
|
||||
Reference in New Issue
Block a user