diff --git a/scripts/openmc-get-photon-data b/scripts/openmc-get-photon-data index 5ceac41412..84660896e5 100755 --- a/scripts/openmc-get-photon-data +++ b/scripts/openmc-get-photon-data @@ -64,7 +64,7 @@ for f in files: 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(