From 6003a2cce5095185f46e63981d7bc6ca4dc2d31a Mon Sep 17 00:00:00 2001 From: Chris Hennick Date: Thu, 4 May 2023 12:46:46 -0700 Subject: [PATCH] Bug fix --- src/write.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/write.rs b/src/write.rs index 8f365860..1282ea6f 100644 --- a/src/write.rs +++ b/src/write.rs @@ -498,7 +498,6 @@ impl ZipWriter { } self.writing_to_file = false; - self.writing_raw = false; Ok(()) } @@ -538,6 +537,7 @@ impl ZipWriter { return Err(e); } self.writing_to_file = true; + self.writing_raw = false; Ok(()) }