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

Reformat since this has to run under python2

parent 3aa2a071
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
#!/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(f"tcp://{host}:{port}")
    socket.connect("tcp://%s:%s".format(host, port))

    topicfilter = "events"
    socket.setsockopt_string(zmq.SUBSCRIBE, topicfilter)