New SNCF module

This commit is contained in:
nemunaire 2022-08-19 13:59:43 +02:00
commit 1616da46e8
3 changed files with 104 additions and 1 deletions

View file

@ -81,8 +81,10 @@ def main():
# alerts
alerts = []
from modules.weather import WeatherAlerts
alerts += [a for a in RATPWeatherModule().gen_alerts()]
from modules.sncf import SNCFWeatherModule
alerts += SNCFWeatherModule().gen_alerts("normandie")
from modules.weather import WeatherAlerts
alerts += WeatherAlerts().gen_alerts()
from modules import AlertsModule