Fix Unicode problem (#1562)

This commit is contained in:
Benny Elgazar 2018-04-13 00:06:24 +03:00 committed by Jack Danger
parent ec0d808010
commit 67d7e8d590

View File

@ -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']