mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix encoding issue in shippable downloader.
This commit is contained in:
parent
673bfc06b9
commit
72c96b3ac3
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ def extract_contents(args, path, output_dir):
|
||||||
items = json.load(json_fd)
|
items = json.load(json_fd)
|
||||||
|
|
||||||
for item in items:
|
for item in items:
|
||||||
contents = item['contents']
|
contents = item['contents'].encode('utf-8')
|
||||||
path = output_dir + '/' + re.sub('^/*', '', item['path'])
|
path = output_dir + '/' + re.sub('^/*', '', item['path'])
|
||||||
|
|
||||||
directory = os.path.dirname(path)
|
directory = os.path.dirname(path)
|
||||||
|
|
Loading…
Reference in a new issue