mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Fix encoding issue in shippable downloader.
This commit is contained in:
@@ -138,7 +138,7 @@ def extract_contents(args, path, output_dir):
|
||||
items = json.load(json_fd)
|
||||
|
||||
for item in items:
|
||||
contents = item['contents']
|
||||
contents = item['contents'].encode('utf-8')
|
||||
path = output_dir + '/' + re.sub('^/*', '', item['path'])
|
||||
|
||||
directory = os.path.dirname(path)
|
||||
|
||||
Reference in New Issue
Block a user