diff options
Diffstat (limited to 'crates/shirabe/src/util')
| -rw-r--r-- | crates/shirabe/src/util/zip.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/shirabe/src/util/zip.rs b/crates/shirabe/src/util/zip.rs index 296345a..9c9135d 100644 --- a/crates/shirabe/src/util/zip.rs +++ b/crates/shirabe/src/util/zip.rs @@ -17,7 +17,7 @@ impl Zip { } let mut zip = ZipArchive::new(); - if !zip.open(path_to_zip) { + if zip.open(path_to_zip, 0).is_err() { return Ok(None); } |
