Closed evanpurkhiser closed 3 weeks ago
Some frames come back as LVBytes ^1. This is a subtype of bytes so we can just cast it. Without the cast the pcap.dump will error with pure_pcapy.PcapError: can dump only bytes.
bytes
pure_pcapy.PcapError: can dump only bytes
Fixes https://github.com/vanviegen/hue-thief/issues/30
Thanks for sharing!
Some frames come back as LVBytes ^1. This is a subtype of
bytes
so we can just cast it. Without the cast the pcap.dump will error withpure_pcapy.PcapError: can dump only bytes
.Fixes https://github.com/vanviegen/hue-thief/issues/30