diff --git a/scripts/openmc-make-compton b/scripts/openmc-make-compton index 3bedb06b1..e2344e5a3 100755 --- a/scripts/openmc-make-compton +++ b/scripts/openmc-make-compton @@ -41,7 +41,7 @@ if download: while True: chunk = req.read(block_size) if not chunk: - break + break fh.write(chunk) downloaded += len(chunk) status = '{0:10} [{1:3.2f}%]'.format(