Skip to content

Commit

Permalink
v1.03
Browse files Browse the repository at this point in the history
  • Loading branch information
gachouchani1999 committed Sep 19, 2021
1 parent 4d82b1f commit 5103192
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flaskr/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ def index():
f = request.files['file']
theme = request.form['theme']
f.save(secure_filename(f.filename))
doc_reader.final_create(int(theme),f.filename)
path = '../'+f.filename
doc_reader.final_create(int(theme),path)
return render_template('download.html')

@app.route('/download')
Expand Down

0 comments on commit 5103192

Please sign in to comment.