Commit 54d36dd1 authored by HERBERT Ryan's avatar HERBERT Ryan
Browse files

file.py fix invalid variable reference in deletion log

parent 8d59839a
......@@ -449,7 +449,7 @@ def delete():
"args" : { "id" : request.vars["redirect_sample_set_id"]},
"message": "sequence file deleted"}
if associated_id is not None:
log.info(res, extra={'user_id': auth.user.id, 'record_id': associated_id, 'table_name': sampel_set.sample_type})
log.info(res, extra={'user_id': auth.user.id, 'record_id': associated_id, 'table_name': sample_set.sample_type})
else:
log.info(res)
return gluon.contrib.simplejson.dumps(res, separators=(',',':'))
......
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