This commit is contained in:
Luna 2024-02-12 00:08:27 -03:00
parent 930b48e55b
commit 834a693282

View file

@ -98,8 +98,8 @@ async def main_with_ctx(ctx, wanted_date):
# write to output
log.info("copying temp to output")
with output_path.open(mode="wb") as output_fd:
shutil.copyfileobj(temp_fd, output_fd)
with output_path.open(mode="wb") as output_fdout:
shutil.copyfileobj(temp_fd, output_fdout)
# decompress
for url_type, _url in urls.items():