aboutsummaryrefslogtreecommitdiffstats
path: root/src/gr-fadingui/python
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/gr-fadingui/python/dearpygui_sink.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gr-fadingui/python/dearpygui_sink.py b/src/gr-fadingui/python/dearpygui_sink.py
index 353f2d9..bca780d 100644
--- a/src/gr-fadingui/python/dearpygui_sink.py
+++ b/src/gr-fadingui/python/dearpygui_sink.py
@@ -27,7 +27,7 @@ from gnuradio import gr
class dearpygui_sink(gr.sync_block):
"""
- docstring for block dearpygui_sink
+ DearPyGUI Sink
"""
def __init__(self, sock_addr, ui_element_id):
gr.sync_block.__init__(self,
@@ -40,7 +40,7 @@ class dearpygui_sink(gr.sync_block):
self.srv = urlparse(sock_addr)
def send(self, value):
- data = bytes(repr(value), "ascii")
+ data = value.tobytes()
sent = self.socket.sendto(data, (self.srv.hostname, self.srv.port))
return len(data) == sent