mirror of
https://github.com/bkerler/edl.git
synced 2024-11-24 00:17:52 -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
|
||||
conninfo = self.doconnect(loop)
|
||||
mode = conninfo["mode"]
|
||||
if "data" not in conninfo:
|
||||
if conninfo.get("data"):
|
||||
version = 2
|
||||
else:
|
||||
version = conninfo["data"].version
|
||||
version = conninfo.get("data").version
|
||||
if mode == "sahara":
|
||||
cmd = conninfo["cmd"]
|
||||
if cmd == cmd_t.SAHARA_HELLO_REQ:
|
||||
|
|
Loading…
Reference in a new issue