mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 16:44: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):
|
class TS(basetrans):
|
||||||
def langmap(self):
|
def langmap(self):
|
||||||
return {"zh": "zh-CN"}
|
return {"zh": "zh-CN"}
|
||||||
def inittranslator(self) :
|
def __init__(self, typename) :
|
||||||
|
super( ).__init__(typename)
|
||||||
self.timeout = 30
|
self.timeout = 30
|
||||||
self.api_url = ""
|
self.api_url = ""
|
||||||
self.history = {
|
self.history = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user