Fixes for apidoc

This commit is contained in:
Antonio de la Rosa 2025-05-13 01:56:55 +02:00
parent a84a2b51ff
commit 7c5af27ecf
3 changed files with 13 additions and 2 deletions

View file

@ -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)