|
|
@ -1,7 +1,5 @@
|
|
|
|
bazarr_version = '0.6.9'
|
|
|
|
bazarr_version = '0.6.9'
|
|
|
|
|
|
|
|
|
|
|
|
import gevent
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import gc
|
|
|
|
import gc
|
|
|
|
gc.enable()
|
|
|
|
gc.enable()
|
|
|
|
|
|
|
|
|
|
|
@ -49,6 +47,8 @@ if "PYCHARM_HOSTED" in os.environ:
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
bottle.ERROR_PAGE_TEMPLATE = bottle.ERROR_PAGE_TEMPLATE.replace('if DEBUG and', 'if')
|
|
|
|
bottle.ERROR_PAGE_TEMPLATE = bottle.ERROR_PAGE_TEMPLATE.replace('if DEBUG and', 'if')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import gevent
|
|
|
|
from gevent.pywsgi import WSGIServer
|
|
|
|
from gevent.pywsgi import WSGIServer
|
|
|
|
from geventwebsocket import WebSocketError
|
|
|
|
from geventwebsocket import WebSocketError
|
|
|
|
from geventwebsocket.handler import WebSocketHandler
|
|
|
|
from geventwebsocket.handler import WebSocketHandler
|
|
|
|