From eb444881e7c83d4bf97e4456fd08a3587d8e012c Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Wed, 16 Jul 2025 13:54:54 -0400 Subject: [WARP] Fix function comment retrieval in python API --- plugins/warp/api/python/warp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/warp/api/python') 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 ) -- cgit v1.3.1