mirror of
https://github.com/bkerler/edl.git
synced 2024-11-14 19:14:58 -05:00
Update firehose.py
This commit is contained in:
parent
5227493816
commit
3cf3324209
1 changed files with 6 additions and 2 deletions
|
@ -848,8 +848,12 @@ class firehose(metaclass=LogBase):
|
|||
rsp = self.xmlsend(connectcmd)
|
||||
if not rsp.resp:
|
||||
if rsp.error=="":
|
||||
try:
|
||||
if "MemoryName" in rsp.data:
|
||||
self.cfg.MemoryName = rsp.data["MemoryName"]
|
||||
except TypeError:
|
||||
self.warning("!DEBUG! rsp.data: '%s'" % (rsp.data,))
|
||||
return self.configure(lvl + 1)
|
||||
if "MaxPayloadSizeFromTargetInBytes" in rsp.data:
|
||||
self.cfg.MaxPayloadSizeFromTargetInBytes = int(rsp.data["MaxPayloadSizeFromTargetInBytes"])
|
||||
if "MaxPayloadSizeToTargetInBytes" in rsp.data:
|
||||
|
|
Loading…
Reference in a new issue