summaryrefslogtreecommitdiff
path: root/plugins/warp/api/python/warp.py
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-07-16 13:54:54 -0400
committerMason Reed <mason@vector35.com>2025-07-17 06:20:20 -0400
commiteb444881e7c83d4bf97e4456fd08a3587d8e012c (patch)
treec51a1bf62551b505ae37f21431b4ad0035671536 /plugins/warp/api/python/warp.py
parent644f73061860086df6169031af8eecac0513aba5 (diff)
[WARP] Fix function comment retrieval in python API
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
)