Commit c76904c8 authored by Ryan Herbert's avatar Ryan Herbert

file.py fix issue with passing str to int parameter

parent 85accc35
......@@ -406,7 +406,7 @@ def edit_form():
provider=auth.user_id)
if request.vars['filename'] != "":
data, filepath = manage_filename(request.vars["filename"], request.vars["id"])
data, filepath = manage_filename(request.vars["filename"], int(request.vars["id"]))
if 'data_file' in data:
os.symlink(filepath, defs.DIR_SEQUENCES + data['data_file'])
db.sequence_file[request.vars["id"]] = data
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment