This commit is contained in:
Aevann1 2022-02-06 12:54:05 +02:00
parent 2d133cacda
commit d12ff06f4f
9 changed files with 15 additions and 15 deletions

View file

@ -19,7 +19,7 @@ from json import loads
f = 'files/templates/sidebar_' + environ.get("SITE_NAME").strip() + '.html'
if not path.exists(f):
with open(f, 'w'): pass
with open(f, 'w', encoding="utf-8"): pass
app = Flask(__name__, template_folder='templates')
app.url_map.strict_slashes = False