From 197303c8e78e206a44e5cfd661a8171f34099138 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miles=20St=C3=B6tzner?= Date: Sat, 18 Nov 2023 16:42:04 +0100 Subject: [PATCH] fix --- cmds/zenodo/script.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmds/zenodo/script.py b/cmds/zenodo/script.py index db87978e2a..364e76a79d 100644 --- a/cmds/zenodo/script.py +++ b/cmds/zenodo/script.py @@ -77,7 +77,7 @@ def set_metadata(version): } headers = {"Content-Type": "application/json"} - r = requests.put(version['links']['self']), data=json.dumps(data), headers=headers, params={'access_token': access_token}) + r = requests.put(version['links']['self'], data=json.dumps(data), headers=headers, params={'access_token': access_token}) print(r.status_code) print(r.json()) print('Metadata set')