initial commit

This commit is contained in:
2021-05-18 19:15:49 +02:00
commit 6f291aa47a
6 changed files with 175 additions and 0 deletions

9
autoreply_editor/main.py Normal file
View File

@@ -0,0 +1,9 @@
from autoreply_editor import app
from flask import render_template
@app.route("/")
def index():
with open(app.config.get("MESSAGE_FILE"), "r") as f:
content = f.read()
return render_template("index.html", content=content)