Skip to content

Commit

Permalink
core: Open metatable file with utf-8 encoding
Browse files Browse the repository at this point in the history
This fixes issue #78.

Signed-off-by: Kai Blin <[email protected]>
  • Loading branch information
kblin committed Dec 25, 2018
1 parent e97ea69 commit 8c844ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ncbi_genome_download/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def config_download(config):
return 1

if config.metadata_table:
with open(config.metadata_table, 'wt') as handle:
with codecs.open(config.metadata_table, mode='w', encoding='utf-8') as handle:
table = metadata.get()
table.write(handle)

Expand Down

0 comments on commit 8c844ab

Please sign in to comment.