mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 16:44:13 +08:00
fix
This commit is contained in:
parent
da9b9f28a6
commit
b81fd1b6c8
@ -23,6 +23,10 @@ class maybejson:
|
|||||||
def __getattr__(self, t):
|
def __getattr__(self, t):
|
||||||
return getattr(self._, t)
|
return getattr(self._, t)
|
||||||
|
|
||||||
|
@property
|
||||||
|
def maybejson(self):
|
||||||
|
return str(self)
|
||||||
|
|
||||||
|
|
||||||
class proxysession(requests.Session):
|
class proxysession(requests.Session):
|
||||||
def __init__(self, _key1, _key2):
|
def __init__(self, _key1, _key2):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user