Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ESCAPE2020
WP3
ZenodoCI
Commits
72f06d84
Commit
72f06d84
authored
Aug 03, 2020
by
Enrique
Browse files
typo in json.dumps(data) command
parent
5fab5bf5
Pipeline
#78659
failed with stage
in 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
.zenodoci/zenodoapi.py
.zenodoci/zenodoapi.py
+1
-1
No files found.
.zenodoci/zenodoapi.py
View file @
72f06d84
...
@@ -92,7 +92,7 @@ class ZenodoAPI:
...
@@ -92,7 +92,7 @@ class ZenodoAPI:
headers
=
{
"Content-Type"
:
"application/json"
}
headers
=
{
"Content-Type"
:
"application/json"
}
parameters
=
{
'access_token'
:
self
.
access_token
}
parameters
=
{
'access_token'
:
self
.
access_token
}
return
requests
.
put
(
url
,
data
=
json
.
dump
(
data
),
headers
=
headers
,
params
=
parameters
)
return
requests
.
put
(
url
,
data
=
json
.
dump
s
(
data
),
headers
=
headers
,
params
=
parameters
)
def
erase_file_entry
(
self
,
entry_id
,
file_id
):
def
erase_file_entry
(
self
,
entry_id
,
file_id
):
"""
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment