New SNCF module
This commit is contained in:
parent
ad75524ae6
commit
1616da46e8
3 changed files with 104 additions and 1 deletions
4
main.py
4
main.py
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue