From 6e2761318cf861a31ad52489cc523e474fe7754f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miles=20St=C3=B6tzner?= Date: Sat, 18 Nov 2023 15:39:24 +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 8686dc103c..6a6fcb6ccb 100644 --- a/cmds/zenodo/script.py +++ b/cmds/zenodo/script.py @@ -25,7 +25,7 @@ def create_version(id): # Delete all existing files if 'files' in data: for file in data['files']: - r = requests.delete(file['links']['self'], params=params={'access_token': access_token}) + r = requests.delete(file['links']['self'], params={'access_token': access_token}) print(r.status_code) print(r.json())