diff --git a/app.py b/app.py
index 04b01f3..fa90053 100644
--- a/app.py
+++ b/app.py
@@ -18,20 +18,3 @@ def frage():
if __name__ == "__main__":
app.run(host="0.0.0.0", port=9006) # 90 + Raumnummer
- app = Flask(__name__)
-eintraege = [] # speichert die Nachrichten (im Arbeitsspeicher)
-
-@app.route("/pinnwand", methods=["GET", "POST"])
-def pinnwand():
- if request.method == "POST":
- eintraege.append(request.form["nachricht"])
- return redirect("/app/pinnwand")
- liste = ""
- for e in eintraege:
- liste = liste + "
" + e + ""
- return 'Pinnwand
' \
- ''
-
-if __name__ == "__main__":
- app.run(host="0.0.0.0", port=9006) # 90 + Raumnummer
\ No newline at end of file
diff --git a/pinnwand.py b/pinnwand.py
new file mode 100644
index 0000000..9556d00
--- /dev/null
+++ b/pinnwand.py
@@ -0,0 +1,17 @@
+ app = Flask(__name__)
+eintraege = [] # speichert die Nachrichten (im Arbeitsspeicher)
+
+@app.route("/pinnwand", methods=["GET", "POST"])
+def pinnwand():
+ if request.method == "POST":
+ eintraege.append(request.form["nachricht"])
+ return redirect("/app/pinnwand")
+ liste = ""
+ for e in eintraege:
+ liste = liste + "" + e + ""
+ return 'Pinnwand
' \
+ ''
+
+if __name__ == "__main__":
+ app.run(host="0.0.0.0", port=9006) # 90 + Raumnummer
\ No newline at end of file