Fix Unicode problem (#1562)
This commit is contained in:
parent
ec0d808010
commit
67d7e8d590
@ -574,7 +574,7 @@ class AWSServiceSpec(object):
|
||||
|
||||
def __init__(self, path):
|
||||
self.path = resource_filename('botocore', path)
|
||||
with open(self.path) as f:
|
||||
with open(self.path, "rb") as f:
|
||||
spec = json.load(f)
|
||||
self.metadata = spec['metadata']
|
||||
self.operations = spec['operations']
|
||||
|
Loading…
Reference in New Issue
Block a user