bugfix
This commit is contained in:
parent
5c7450dd54
commit
1c79592bb7
@ -24,6 +24,8 @@ from aiohttp.web import (
|
|||||||
HTTPInternalServerError,
|
HTTPInternalServerError,
|
||||||
HTTPBadGateway,
|
HTTPBadGateway,
|
||||||
HTTPServiceUnavailable
|
HTTPServiceUnavailable
|
||||||
|
json_response,
|
||||||
|
Response
|
||||||
)
|
)
|
||||||
from traceback import format_exc
|
from traceback import format_exc
|
||||||
from functools import partial
|
from functools import partial
|
||||||
@ -323,6 +325,8 @@ def initEnv():
|
|||||||
g.downloadfile2url = downloadfile2url
|
g.downloadfile2url = downloadfile2url
|
||||||
g.background_reco = background_reco
|
g.background_reco = background_reco
|
||||||
g.get_sor_context = get_sor_context
|
g.get_sor_context = get_sor_context
|
||||||
|
g.json_response = json_response
|
||||||
|
g.Response = Response
|
||||||
|
|
||||||
def set_builtins():
|
def set_builtins():
|
||||||
all_builtins = [ i for i in dir(builtins) if not i.startswith('_')]
|
all_builtins = [ i for i in dir(builtins) if not i.startswith('_')]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user