Skip to content

Commit

Permalink
Merge pull request #5 from open-contracting/allow-non-ascii
Browse files Browse the repository at this point in the history
output non-ascii characters from downloadReleases
  • Loading branch information
odscjames committed Nov 12, 2019
2 parents 06ac9b7 + 9801bea commit 85e4811
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kingfishercolab/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,9 @@ def downloadReleases(collection_id, ocid, package_type):

with open(file, 'w') as f:
if package_type == 'release':
json.dump(cur.fetchone()[0], f, indent=2)
json.dump(cur.fetchone()[0], f, indent=2, ensure_ascii=False)
elif package_type == 'record':
json.dump(cur.fetchone()[1], f, indent=2)
json.dump(cur.fetchone()[1], f, indent=2, ensure_ascii=False)

files.download(file)

Expand Down

0 comments on commit 85e4811

Please sign in to comment.