Fixes for apidoc
This commit is contained in:
parent
a84a2b51ff
commit
7c5af27ecf
3 changed files with 13 additions and 2 deletions
|
|
@ -135,8 +135,12 @@ def start_app():
|
|||
|
||||
if not os.path.isfile(file_path):
|
||||
#file_path=workdir+'/modules/'+module+'/media/'+media_file
|
||||
|
||||
if not module in arr_module_path:
|
||||
abort(404)
|
||||
|
||||
file_path=arr_module_path[module]+'/media/'+media_file
|
||||
|
||||
|
||||
if not os.path.isfile(file_path):
|
||||
abort(404)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue