Decode additional heat files

All file contents should be json serializable

Change-Id: I7da20f1f68ecd73b83bed237d09314eaffe6d4f6
Closes-Bug: https://storyboard.openstack.org/#!/story/2002002
This commit is contained in:
Sergey Skripnick 2018-05-10 20:03:19 +03:00
parent daf889a315
commit a31c174835
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ def read_url_content(url):
if content:
try:
content.decode('utf-8')
content = content.decode('utf-8')
except ValueError:
content = base64.encodestring(content)
return content