Skip to content

Commit

Permalink
Fixed file bug
Browse files Browse the repository at this point in the history
  • Loading branch information
drakylar committed Dec 28, 2021
1 parent 4619def commit 070a174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/ui/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -1027,7 +1027,7 @@ def new_poc_form(project_id, issue_id, current_project, current_user,
f = open(new_file_path, 'rb')
file_data = f.read()
f.close()
remove(file_data)
remove(new_file_path)

db.insert_new_poc(port_id,
form.comment.data,
Expand Down

0 comments on commit 070a174

Please sign in to comment.