From dc5798ff89c22c8c74fdf59f49a415d3a9569129 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Mon, 1 Mar 2021 11:07:39 -0500 Subject: Some python3 changes --- python/pluginmanager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/pluginmanager.py') diff --git a/python/pluginmanager.py b/python/pluginmanager.py index a164c4f6..3add086b 100644 --- a/python/pluginmanager.py +++ b/python/pluginmanager.py @@ -97,7 +97,7 @@ class RepoPlugin(object): count = ctypes.c_ulonglong(0) platforms = core.BNPluginGetApis(self.handle, count) for i in range(count.value): - result.append(platforms[i]) + result.append(platforms[i].decode("utf-8")) core.BNFreePluginPlatforms(platforms, count) return result @@ -185,7 +185,7 @@ class RepoPlugin(object): count = ctypes.c_ulonglong(0) platforms = core.BNPluginGetPlatforms(self.handle, count) for i in range(count.value): - result.append(platforms[i]) + result.append(platforms[i].decode("utf-8")) core.BNFreePluginPlatforms(platforms, count) return result -- cgit v1.3.1