mirror of
https://github.com/bkerler/edl.git
synced 2024-11-14 19:14:58 -05:00
This commit is contained in:
parent
3b9a6927fb
commit
a9e50083a2
1 changed files with 2 additions and 2 deletions
4
edl
4
edl
|
@ -289,10 +289,10 @@ class main(metaclass=LogBase):
|
||||||
self.cdc.timeout = 1500
|
self.cdc.timeout = 1500
|
||||||
conninfo = self.doconnect(loop)
|
conninfo = self.doconnect(loop)
|
||||||
mode = conninfo["mode"]
|
mode = conninfo["mode"]
|
||||||
if "data" not in conninfo:
|
if conninfo.get("data"):
|
||||||
version = 2
|
version = 2
|
||||||
else:
|
else:
|
||||||
version = conninfo["data"].version
|
version = conninfo.get("data").version
|
||||||
if mode == "sahara":
|
if mode == "sahara":
|
||||||
cmd = conninfo["cmd"]
|
cmd = conninfo["cmd"]
|
||||||
if cmd == cmd_t.SAHARA_HELLO_REQ:
|
if cmd == cmd_t.SAHARA_HELLO_REQ:
|
||||||
|
|
Loading…
Reference in a new issue