diff --git a/crunchy-cli-core/src/utils/download.rs b/crunchy-cli-core/src/utils/download.rs index a9e6ab7..cb3ec50 100644 --- a/crunchy-cli-core/src/utils/download.rs +++ b/crunchy-cli-core/src/utils/download.rs @@ -1303,7 +1303,7 @@ fn get_subtitle_stats(path: &Path) -> Result> { let mut fonts = vec![]; for capture in FONT_REGEX.captures_iter(&(fs::read_to_string(path)?)) { - if let Some(font) = (capture.name("font") || capture.name("overrideFont")) { + if let Some(font) = capture.name("font") || let Some(font) = capture.name("overrideFont") { let font_string = font.as_str().to_string(); if !fonts.contains(&font_string) { fonts.push(font_string)