This commit is contained in:
Nathan-rek
2024-11-18 15:58:51 +01:00
parent 354ad3b164
commit 37a3f6abf3

View File

@@ -49,10 +49,6 @@ def getSVG():
return render_template("form.html")
@app.route("/gcode_file", methods=["POST", "GET"])
def getGcode():
@@ -71,22 +67,17 @@ def getGcode():
return render_template("form.html")
@app.route("/text", methods=["POST", "GET"])
def getText():
if request.method == "POST":
txt = request.form["txt"]
size_txt = txt.count()
if txt:
print(txt)
# print(txt)
print(size-txt)
else:
print('empty text')
print('empty text')
return render_template("form.html")