bugfix
This commit is contained in:
parent
aeb29386cd
commit
04216bf6ef
@ -51,7 +51,3 @@ async def path_download(request, kw, *params):
|
||||
rf = RegisterFunction()
|
||||
rf.register('idfile', path_download)
|
||||
rf.register('download', path_download)
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -39,6 +39,7 @@ from .xlsxData import XLSXData
|
||||
from .uriop import URIOp
|
||||
from .error import Success, Error, NeedLogin, NoPermission
|
||||
from .filetest import current_fileno
|
||||
from .filedownload import path_download, file_download
|
||||
from .filestorage import FileStorage
|
||||
from .serverenv import ServerEnv
|
||||
|
||||
@ -262,6 +263,8 @@ def initEnv():
|
||||
g.rfexe = RegisterFunction().exe
|
||||
g.stream_response = stream_response
|
||||
g.webpath = webpath
|
||||
g.file_download = file_download
|
||||
g.path_download = path_download
|
||||
|
||||
def set_builtins():
|
||||
all_builtins = [ i for i in dir(builtins) if not i.startswith('_')]
|
||||
|
Loading…
Reference in New Issue
Block a user