summaryrefslogtreecommitdiff
path: root/plugins/warp/api/python/warp.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/warp/api/python/warp.py')
-rw-r--r--plugins/warp/api/python/warp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/warp/api/python/warp.py b/plugins/warp/api/python/warp.py
index c7486b8c..66fef872 100644
--- a/plugins/warp/api/python/warp.py
+++ b/plugins/warp/api/python/warp.py
@@ -87,7 +87,7 @@ class WarpFunctionComment:
@staticmethod
def from_api(comment: warpcore.BNWARPFunctionComment) -> 'WarpFunctionComment':
return WarpFunctionComment(
- text=comment.text.decode('utf-8'),
+ text=comment.text,
offset=comment.offset
)