aboutsummaryrefslogtreecommitdiff
path: root/contrib/zmq/zmq_sub3.4.py
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/zmq/zmq_sub3.4.py')
-rw-r--r--[-rwxr-xr-x]contrib/zmq/zmq_sub3.4.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/zmq/zmq_sub3.4.py b/contrib/zmq/zmq_sub3.4.py
index 536352d5ff..0df843c9a3 100755..100644
--- a/contrib/zmq/zmq_sub3.4.py
+++ b/contrib/zmq/zmq_sub3.4.py
@@ -42,7 +42,7 @@ port = 28332
class ZMQHandler():
def __init__(self):
- self.loop = zmq.asyncio.install()
+ self.loop = asyncio.get_event_loop()
self.zmqContext = zmq.asyncio.Context()
self.zmqSubSocket = self.zmqContext.socket(zmq.SUB)