Commit 14acb399 authored by Maeva Pourpoint's avatar Maeva Pourpoint
Browse files

Fix "unpack requires a buffer of 1 bytes" bug

parent abeefa57
Pipeline #976 passed with stage
in 42 seconds
......@@ -1461,7 +1461,7 @@ class Mseed(futils):
tmpchar = ""
while tmpchar != "~":
tupchar = self.sunpack(fmtstr, self.infileread(1))
tmpchar = str(tupchar[0])
tmpchar = tupchar[0].decode()
if tmpchar != "~":
char = char + tmpchar
length_data_string += 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment