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())