Commit 067d19c5 authored by jkvis's avatar jkvis
Browse files

Removed transfer key from metadata

parent bf16401b
......@@ -480,15 +480,13 @@ def upload(user, transfer_id):
logging.error(excp.strerror)
success = False
# Add the primary directory to the metadata.
meta_data['transfer'] = transfer.tid
if success:
try:
result = requests.post(user.action,
json=meta_data,
cert=CERT,
verify=False)
verify=False,
timeout=120)
if result.status_code < 200 or result.status_code > 299:
logging.error(user.action + ' for ' + transfer.tid +
' failed: ' + result.text)
......
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