Merge pull request #365 from viraniac/master

Fix exception when processing nop cmd
This commit is contained in:
Bjoern Kerler 2023-02-27 11:38:08 +01:00 committed by GitHub
commit 15c5506ff4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -339,7 +339,7 @@ class firehose(metaclass=LogBase):
def cmd_nop(self):
data = "<?xml version=\"1.0\" ?><data><nop /></data>"
resp = self.xmlsend(data, True)
self.debug(resp.hex())
self.debug(resp.data.hex())
info = b""
tmp = None
while tmp != b"":