forked from orbit-oss/flask
Fix typos/grammar in docs (#2201)
This commit is contained in:
parent
06112a555a
commit
f5adb61b28
6 changed files with 8 additions and 8 deletions
|
|
@ -58,7 +58,7 @@ the file and redirects the user to the URL for the uploaded file::
|
|||
return redirect(request.url)
|
||||
file = request.files['file']
|
||||
# if user does not select file, browser also
|
||||
# submit a empty part without filename
|
||||
# submit an empty part without filename
|
||||
if file.filename == '':
|
||||
flash('No selected file')
|
||||
return redirect(request.url)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue