diff --git a/app.py b/app.py index 0f812c3..138bcee 100644 --- a/app.py +++ b/app.py @@ -146,7 +146,7 @@ def suche_finden(): print(liste) with open(liste+".json","w") as f: json.dump(songs,f,indent=2,ensure_ascii=False) - return redirect("/?liste="+liste,303) + return redirect("/suche?liste="+liste,303) @app.route("/ADMIN") def admin(): diff --git a/templates/neueliste.html b/templates/neueliste.html index 9fc279b..43dcb4a 100644 --- a/templates/neueliste.html +++ b/templates/neueliste.html @@ -1 +1,8 @@ +
\ No newline at end of file diff --git a/templates/playlists.html b/templates/playlists.html index 62a6f1d..76d06c1 100644 --- a/templates/playlists.html +++ b/templates/playlists.html @@ -1,6 +1,18 @@ -Du musst etwas in die Playlist Screiben
{% endif %} @@ -12,4 +19,4 @@Leider gibt es den Eintrag {{anfrage}} nicht!
{%endif%} -Doch nicht? \ No newline at end of file +Doch nicht? \ No newline at end of file