diff options
author | JP Viljoen <froztbyte@froztbyte.net> | 2015-10-05 21:19:26 +0200 |
---|---|---|
committer | JP Viljoen <froztbyte@froztbyte.net> | 2015-10-05 21:19:26 +0200 |
commit | 5fd610687399fb1665060869232d9625ebfb4882 (patch) | |
tree | 56315b4f1108b5aca4b3b8255421e0957581591c /voctogui/lib/connection.py | |
parent | 9a5a91277efed7bf18966f2e8797d18b10bfbb6a (diff) |
minor python3-related fix, add a missing import, and fix syntax in audioselector
Diffstat (limited to 'voctogui/lib/connection.py')
-rw-r--r-- | voctogui/lib/connection.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/voctogui/lib/connection.py b/voctogui/lib/connection.py index 433693d..b56a490 100644 --- a/voctogui/lib/connection.py +++ b/voctogui/lib/connection.py @@ -104,6 +104,8 @@ def on_loop(): def send(command): global conn, log + if isinstance(command, str): + command = command.encode('ascii') conn.send(command) def on(signal, cb): |