aboutsummaryrefslogtreecommitdiffstats
path: root/src/gr-fadingui
diff options
context:
space:
mode:
authorsara <sara.halter@gmx.ch>2021-11-17 17:24:29 +0100
committersara <sara.halter@gmx.ch>2021-11-17 17:24:29 +0100
commit1dadaa301589c5ddf4b2a8e3c4675bf812bd1601 (patch)
tree917a0c68860a3da0e68c9a1ce146c11ed34b3c9a /src/gr-fadingui
parentDoku weitergeschriben/angepasst (diff)
parentReplace GNURadio scripts with network code (diff)
downloadFading-1dadaa301589c5ddf4b2a8e3c4675bf812bd1601.tar.gz
Fading-1dadaa301589c5ddf4b2a8e3c4675bf812bd1601.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'src/gr-fadingui')
-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