Merge branch 'Allow-sub-directories-in-custom-stages' into 'master'

Allow sub directories in custom stages

Closes #759

See merge request openlp/openlp!298
This commit is contained in:
Tim Bentley 2021-02-06 15:48:39 +00:00
commit b0d8d6fd85

View File

@ -46,6 +46,6 @@ def stages(path):
return send_from_directory(str(AppLocation.get_section_data_path('stages') / path), 'stage.html')
@main_views.route('/stage/<path>/<file>')
@main_views.route('/stage/<path:path>/<file>')
def stage_assets(path, file):
return send_from_directory(str(AppLocation.get_section_data_path('stages') / path), file)