|
@@ -97,7 +97,8 @@ def read_migration_debug_json(self):
|
|
# Seek back to where we were at the beginning
|
|
# Seek back to where we were at the beginning
|
|
self.file.seek(entrypos, 0)
|
|
self.file.seek(entrypos, 0)
|
|
|
|
|
|
- return data[jsonpos:jsonpos + jsonlen]
|
|
|
|
|
|
+ # explicit decode() needed for Python 3.5 compatibility
|
|
|
|
+ return data[jsonpos:jsonpos + jsonlen].decode("utf-8")
|
|
|
|
|
|
def close(self):
|
|
def close(self):
|
|
self.file.close()
|
|
self.file.close()
|