Mercurial > repos > greg > data_manager_vsnp_genbank
changeset 1:f136bf6d2f4c draft
Uploaded
author | greg |
---|---|
date | Mon, 10 Feb 2020 10:27:08 -0500 |
parents | f1a7a3faaf3d |
children | df67ba6db5de |
files | data_manager/vsnp_genbank_fetcher.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/data_manager/vsnp_genbank_fetcher.py Mon Feb 10 09:36:20 2020 -0500 +++ b/data_manager/vsnp_genbank_fetcher.py Mon Feb 10 10:27:08 2020 -0500 @@ -17,7 +17,7 @@ try: req = Request(url) src = urlopen(req) - with open(file_path, 'w') as dst: + with open(file_path, 'wb') as dst: while True: chunk = src.read(2**10) if chunk: