Now compatible with pickle format 3+
This commit is contained in:
parent
66ce54726e
commit
f1b4cc4ed8
|
|
@ -679,7 +679,7 @@ class DspManager(SdrSourceEventClient, ClientDemodulatorSecondaryDspEventClient)
|
|||
def unpickler(data):
|
||||
b = data.tobytes()
|
||||
# If we know it's not pickled, let us not unpickle
|
||||
if len(b)<2 or b[0]!=0x80 or b[1]<0x04:
|
||||
if len(b)<2 or b[0]!=0x80 or b[1]<0x03:
|
||||
callback(b.decode("ascii"))
|
||||
else:
|
||||
io = BytesIO(b)
|
||||
|
|
|
|||
Loading…
Reference in New Issue