From 3db016519f3d1b7a579f42b219c5b7389be18446 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 22 Jan 2024 22:16:11 +0100 Subject: [PATCH] fix Cours/TD showing when it shouldn't --- src/timetable.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/timetable.rs b/src/timetable.rs index c98bf52..00a9140 100644 --- a/src/timetable.rs +++ b/src/timetable.rs @@ -211,7 +211,7 @@ fn add_courses( .to_owned() .is_some_and(|list| !course.category.iter().any(|item| list.contains(item))) || exclude.to_owned().is_some_and(|list| { - course.category.iter().all(|item| list.contains(item)) + course.category.iter().any(|item| list.contains(item)) }) { continue;