From e3d2611589c84c3fa27a396b8233c65a83f61681 Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Wed, 10 May 2023 11:05:17 +0200 Subject: [PATCH] Show news about RER A from monday to thursday --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 4c27d3f..b74c3b9 100644 --- a/main.py +++ b/main.py @@ -107,8 +107,8 @@ def main(only_on_coming_evt=False, ignore_module=[], force_coming_event=True, ex # RATP weather major_lines = ["M7", "M14", "RB", "TT3A"] weekday = datetime.now().weekday() - if weekday == 0 or weekday == 1 or weekday == 3: - major_lines.append("M1") + if weekday == 0 or weekday == 1 or weekday == 2 or weekday == 3: + major_lines.append("RA") elif weekday == 4: major_lines.append("M6") from modules.ratp import RATPWeatherModule