From 40a4c37da4f1d2384bf1082b87629ce7f1eaead4 Mon Sep 17 00:00:00 2001 From: Piotr Dobrowolski Date: Mon, 22 Aug 2022 18:04:44 +0200 Subject: [PATCH] firehose: fix MaxPayloadSizeToTargetInBytes handling --- edlclient/Library/firehose.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"])