Commit bba8f920 authored by Aljaž Srebrnič's avatar Aljaž Srebrnič

Reformat since this has to run under python2

parent 3aa2a071
#!/usr/bin/env python3
#!/usr/bin/env python2
import pygame as pg
from threading import Timer
......@@ -36,7 +36,7 @@ def main():
socket = context.socket(zmq.SUB)
print("Connecting to coordinator...")
socket.connect("tcp://%s:%s".format(host, port))
topicfilter = "events"
socket.setsockopt_string(zmq.SUBSCRIBE, topicfilter)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment