Fix typo in example.

This commit is contained in:
Nickatak 2018-01-14 16:02:43 -08:00
parent c3a997864e
commit a9646716d2
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ the file and redirects the user to the URL for the uploaded file::
if file and allowed_file(file.filename):
filename = secure_filename(file.filename)
file.save(os.path.join(app.config['UPLOAD_FOLDER'], filename))
return redirect(url_for('uploaded_file',
return redirect(url_for('upload_file',
filename=filename))
return '''
<!doctype html>