From cf1db8f746c4412eabb79c596a0fec5ff6f36bc2 Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Mon, 16 Sep 2024 06:58:12 +0200 Subject: [PATCH] RER B is far away, not others transportations --- modules/ratp.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/ratp.py b/modules/ratp.py index d8c7e90..90221e7 100644 --- a/modules/ratp.py +++ b/modules/ratp.py @@ -490,10 +490,10 @@ class RATPNextStopModule: mode = tmp[0][0] line = tmp[0][1:] - if tmp[0] == "M14": - mint = datetime.now() + timedelta(minutes=4) - else: + if tmp[0] == "RB": mint = datetime.now() + timedelta(minutes=10) + else: + mint = datetime.now() + timedelta(minutes=4) try: if 1 < len(tmp) < 4: