mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 00:24:13 +08:00
Revert "Update sakura.py"
This reverts commit 659d9b47bce6b3d8f1108cfb21284d7c50e3fda4.
This commit is contained in:
parent
659d9b47bc
commit
951268095f
@ -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 = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user