diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index 22d1ab4..a77a952 100644 --- a/src/main.rs +++ b/src/main.rs @@ -238,7 +238,7 @@ fn is_log_file(entry: &DirEntry) -> bool { entry .file_name() .to_str() - .map(|n| n.ends_with(".evtc") || n.ends_with(".evtc.zip")) + .map(|n| n.ends_with(".evtc") || n.ends_with(".evtc.zip") || n.ends_with(".zevtc")) .unwrap_or(false) } @@ -270,7 +270,7 @@ fn search_log(entry: &DirEntry, opt: &Opt) -> Result<Option<LogResult>, RuntimeE let raw = if entry .file_name() .to_str() - .map(|n| n.ends_with(".zip")) + .map(|n| n.ends_with(".zip") || n.ends_with(".zevtc")) .unwrap_or(false) { evtclib::raw::parse_zip(&mut input) |