Commit e2903ac2 authored by jkvis's avatar jkvis

Prefix fix

parent 9841abc6
......@@ -183,12 +183,12 @@ def initiate_transfer(user):
meta_file['filename']):
return jsonify({'error': 'invalid metadata'}), 400
meta_file['filename'] = tid + '/' + meta_file['filename']
db.session.add(MetaFile(meta_file['filename'],
meta_file['md5'],
transfer))
meta_file['filename'] = tid + '/' + meta_file['filename']
# Setup the primary transfer directory.
primary_path = os.path.join(user.primary_path, transfer.tid)
......
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