Revert "Update sakura.py"

This reverts commit 659d9b47bce6b3d8f1108cfb21284d7c50e3fda4.
This commit is contained in:
恍兮惚兮 2024-03-05 23:49:49 +08:00
parent 659d9b47bc
commit 951268095f

View File

@ -8,7 +8,8 @@ import json
class TS(basetrans):
def langmap(self):
return {"zh": "zh-CN"}
def inittranslator(self) :
def __init__(self, typename) :
super( ).__init__(typename)
self.timeout = 30
self.api_url = ""
self.history = {