mirror of
https://github.com/morpheus65535/bazarr.git
synced 2024-11-10 17:13:35 +08:00
9 lines
295 B
Python
9 lines
295 B
Python
try:
|
|
from engineio.async_drivers.tornado import get_tornado_handler as \
|
|
get_engineio_handler
|
|
except ImportError: # pragma: no cover
|
|
get_engineio_handler = None
|
|
|
|
|
|
def get_tornado_handler(socketio_server): # pragma: no cover
|
|
return get_engineio_handler(socketio_server.eio)
|