music update
All checks were successful
Build and push container image / build-and-push-image (push) Successful in 4m39s
All checks were successful
Build and push container image / build-and-push-image (push) Successful in 4m39s
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Imports
|
||||
from flask import Blueprint, render_template, request, abort
|
||||
from flask import Blueprint, render_template, abort
|
||||
from os import getenv as env
|
||||
import logging, os, re
|
||||
|
||||
@@ -32,7 +32,6 @@ def catch_all(filename):
|
||||
|
||||
except Exception as e:
|
||||
os_path = os.path.join(bp.template_folder, 'pages', filename)[3:]
|
||||
print(os_path)
|
||||
if os.path.isdir(os_path):
|
||||
if not filename.endswith('/'): filename += '/'
|
||||
return render_template('bases/directory.html', directory=filename, pages=ListFiles(os_path))
|
||||
|
||||
Reference in New Issue
Block a user