diff --git a/modules/ratp.py b/modules/ratp.py index ba8dd15..b692355 100644 --- a/modules/ratp.py +++ b/modules/ratp.py @@ -483,13 +483,17 @@ class RATPNextStopModule: align = 0 - mint = datetime.now() + timedelta(minutes=10) - api = IDFMAPI(config) for stop in stops: tmp = stop.split("/", 2) mode = tmp[0][0] line = tmp[0][1:] + + if tmp[0] == "M14": + mint = datetime.now() + timedelta(minutes=4) + else: + mint = datetime.now() + timedelta(minutes=10) + try: if 1 < len(tmp) < 4: prep = {}