Don't try to parse dirs after extracting with 7z

This commit is contained in:
Tyler Hallada 2022-09-12 21:02:12 -04:00
parent fe908799d7
commit afefc8fef3

View File

@ -43,6 +43,7 @@ pub async fn extract_with_7zip(
.contents_first(true)
.into_iter()
.filter_entry(|e| {
if e.file_type().is_dir() { return false }
if let Some(extension) = e.path().extension() {
extension == "esp" || extension == "esm" || extension == "esl"
} else {