Skip to content

Commit

Permalink
fix zeno literal output from pyzpc
Browse files Browse the repository at this point in the history
  • Loading branch information
littlemine committed Oct 10, 2024
1 parent 1f1e308 commit 1fba4ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion projects/PyZpc/Lib/zpy/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ def from_literal(value):
if hasattr(value, 'to_handle'):
return value
else:
return ZenoObject.make_literal(value)
handle = ZenoObject.make_literal(value)
return ZenoObject(handle)

def fetch_literal(self):
litType_ = ctypes.c_int(0)
Expand Down

0 comments on commit 1fba4ad

Please sign in to comment.