generated from github/codespaces-flask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathold.txt
26 lines (24 loc) · 1.01 KB
/
old.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
new_song = ""
"""
for
for (int lcv = 0; lcv <= 500; lcv++) {Console.WriteLine}
@app.route("/", methods = ["GET","POST"])
@app.route("/home", methods = ["GET", "POST"])
def home_page():
if request.method == "POST":
audioFile = request.form["audio"]
fileName = secure_filename(audioFile.filename)
upload_song(fileName) # Updates AllSongs.txt with filename
filename = secure_filename(audioFile.filename)
audioFile.save(os.path.join(app.config['audioFiles/'], filename))
return render_template("index.html",
title="Home",
new_song=new_song,
upload_song=upload_song,
update_song=update_song)
return render_template("index.html",
title="Home",
new_song=new_song,
upload_song=upload_song,
update_song=update_song)
"""