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

Reverted previous commit, python3 works now.

parent a414056d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
import pygame as pg
from threading import Timer
import zmq
import configparser
import ConfigParser


# fade out
@@ -36,7 +36,7 @@ def main():
    socket = context.socket(zmq.SUB)

    print("Connecting to coordinator...")
    socket.connect("tcp://%s:%s".format(host, port))
    socket.connect(f"tcp://{host}:{port}")

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