diff --git a/examples/bench/rlserver.py b/examples/bench/rlserver.py index 796184c..9c9dbe6 100644 --- a/examples/bench/rlserver.py +++ b/examples/bench/rlserver.py @@ -1,7 +1,6 @@ import argparse import asyncio import gc -import uvloop import os.path import socket as socket_module @@ -44,6 +43,7 @@ if __name__ == '__main__': args = parser.parse_args() if args.uvloop: + import uvloop loop = uvloop.new_event_loop() print('using UVLoop') else: