Commits

Michał Górny committed 2930bc1

Decode real_kv properly.

Comments (0)

Files changed (1)

ecleankernel/kernel.py

 		offset = struct.unpack_from('H', buf, 0x0e)[0]
 		f.seek(offset - 0x10, 1)
 		buf = f.read(0x100) # XXX
-		return str(buf.split(b' ', 1)[0])
+		return buf.split(b' ', 1)[0].decode()
 
 	@property
 	def mtime(self):