diff --git a/edlclient/Library/firehose.py b/edlclient/Library/firehose.py index ff0a791..8666ce8 100755 --- a/edlclient/Library/firehose.py +++ b/edlclient/Library/firehose.py @@ -889,7 +889,7 @@ class firehose(metaclass=LogBase): else: self.error("Error on EDL Authentification") return False - elif "MaxPayloadSizeToTargetInBytes" in line: + elif "MaxPayloadSizeToTargetInBytes" in rsp.data: try: self.cfg.MemoryName = rsp.data["MemoryName"] self.cfg.MaxPayloadSizeToTargetInBytes = int(rsp.data["MaxPayloadSizeToTargetInBytes"])