Python 3 fixes.
This commit is contained in:
parent
625b1d2ac6
commit
1177985e19
2 changed files with 2 additions and 2 deletions
|
|
@ -123,7 +123,7 @@ class GlacierResponse(_TemplateEnvironmentMixin):
|
|||
"Marker": None,
|
||||
})
|
||||
elif method == 'POST':
|
||||
json_body = json.loads(body)
|
||||
json_body = json.loads(body.decode("utf-8"))
|
||||
archive_id = json_body['ArchiveId']
|
||||
job_id = self.backend.initiate_job(vault_name, archive_id)
|
||||
headers['x-amz-job-id'] = job_id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue