summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/typelibrary.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/typelibrary.py b/python/typelibrary.py
index fb91a8e3..bd5b950f 100644
--- a/python/typelibrary.py
+++ b/python/typelibrary.py
@@ -185,7 +185,7 @@ class TypeLibrary:
platforms = core.BNGetTypeLibraryPlatforms(self.handle, count)
assert platforms is not None, "core.BNGetTypeLibraryPlatforms returned None"
for i in range(0, count.value):
- result.append(platforms[i])
+ result.append(platforms[i].decode("utf-8"))
core.BNFreeStringList(platforms, count.value)
return result