ratp: Include tramways in alerts

This commit is contained in:
nemunaire 2023-01-19 12:57:25 +01:00
commit 615f2a8652
2 changed files with 4 additions and 3 deletions

View file

@ -101,7 +101,7 @@ def main(only_on_coming_evt=False, ignore_module=[], force_coming_event=True, ex
shape.append(WidgetPlacement(WeeklyWeatherModule, size=(int(480/1.6), 275), position=(480-int(480/1.6), NEXT_STOP_Y + occuped_space + (5 if occuped_space else 0))))
# RATP weather
major_lines = ["M7", "M14", "RB", "T3A"]
major_lines = ["M7", "M14", "RB", "TT3A"]
weekday = datetime.now().weekday()
if weekday == 0 or weekday == 1 or weekday == 3:
major_lines.append("M1")