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

Reverted previous commit, python3 works now.

parent a414056d
......@@ -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)
......
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