SDF
This commit is contained in:
parent
2d133cacda
commit
d12ff06f4f
9 changed files with 15 additions and 15 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue