mirror of
https://github.com/bkerler/edl.git
synced 2024-11-14 11:05:05 -05:00
Fix xiaomi edl auth check
Signed-off-by: Dinolek <github@dinolek.me>
This commit is contained in:
parent
5367174021
commit
113b329991
1 changed files with 2 additions and 4 deletions
|
@ -42,8 +42,6 @@ class xiaomi(metaclass=LogBase):
|
|||
if rsp.resp:
|
||||
rsp = self.fh.xmlsend(self.xiaomi_authdata)
|
||||
if rsp.resp:
|
||||
if "value" in rsp.resp:
|
||||
if rsp.resp["value"] == "ACK":
|
||||
if 'authenticated' in rsp.log[0].lower() and 'true' in rsp.log[0].lower():
|
||||
return True
|
||||
if 'authenticated' in rsp.log[0].lower():
|
||||
return True
|
||||
return False
|
||||
|
|
Loading…
Reference in a new issue