diff --git a/examples/boolean_client.py b/examples/boolean_client.py index 499fcee..cefc4a5 100644 --- a/examples/boolean_client.py +++ b/examples/boolean_client.py @@ -75,7 +75,7 @@ def handleBoolean(value): if (c == 10 or c == 13): local_state = not local_state - brew.publish('local state', local_state) + brew.publish('local state', str(local_state).lower()) stdscr.addstr(pos_local, pos_state, (str(local_state) + " ").encode(code)) stdscr.refresh()