Fix Unicode problem (#1562)
This commit is contained in:
parent
ec0d808010
commit
67d7e8d590
1 changed files with 1 additions and 1 deletions
|
|
@ -574,7 +574,7 @@ class AWSServiceSpec(object):
|
||||||
|
|
||||||
def __init__(self, path):
|
def __init__(self, path):
|
||||||
self.path = resource_filename('botocore', path)
|
self.path = resource_filename('botocore', path)
|
||||||
with open(self.path) as f:
|
with open(self.path, "rb") as f:
|
||||||
spec = json.load(f)
|
spec = json.load(f)
|
||||||
self.metadata = spec['metadata']
|
self.metadata = spec['metadata']
|
||||||
self.operations = spec['operations']
|
self.operations = spec['operations']
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue