broading unlogging detection
This commit is contained in:
1 parent
93f4159459
commit
5e46e7e14e
1 file changed
+1
-1
@@ -29,7 +29,7 @@ class Mw40V:
|
|||||||
)
|
)
|
||||||
|
|
||||||
if 'error' in r.json():
|
if 'error' in r.json():
|
||||||
if r.json()['error']['message'] == 'Authentication Failure':
|
if r.json()['error']['message'] in ['Authentication Failure', 'Request need login']:
|
||||||
self.login_token = None
|
self.login_token = None
|
||||||
self.request(self, method, params, id)
|
self.request(self, method, params, id)
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in new issue
Block a user