From 74026c9e9f2b7f70be7ba3094444cb9883aa4866 Mon Sep 17 00:00:00 2001 From: Ben Date: Tue, 19 Mar 2019 02:43:25 +0000 Subject: [PATCH] Switch to new uvloop.install() for setting event loop policy --- Houdini/HoudiniFactory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Houdini/HoudiniFactory.py b/Houdini/HoudiniFactory.py index 541ac3c..5bfb72b 100644 --- a/Houdini/HoudiniFactory.py +++ b/Houdini/HoudiniFactory.py @@ -24,7 +24,7 @@ from Houdini.Data import db try: import uvloop - asyncio.set_event_loop_policy(uvloop.EventLoopPolicy()) + uvloop.install() except ImportError: uvloop = None