OKRN commited on
Commit
621c5b6
·
verified ·
1 Parent(s): c044db5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -107,7 +107,7 @@ def upload_file():
107
  return redirect(url_for('index'))
108
 
109
  file.save(os.path.join(app.config['UPLOAD_FOLDER'], target_file))
110
- flash(f'File successfully uploaded and replaced {target_file}', 'success')
111
  else:
112
  flash('File type not allowed. Please upload .txt files only.', 'error')
113
 
 
107
  return redirect(url_for('index'))
108
 
109
  file.save(os.path.join(app.config['UPLOAD_FOLDER'], target_file))
110
+ flash(f'File successfully uploaded', 'success')
111
  else:
112
  flash('File type not allowed. Please upload .txt files only.', 'error')
113