ratp: Make traffic aware lines configurable

This commit is contained in:
nemunaire 2023-01-19 10:51:59 +01:00
commit 4bf17e2e39
2 changed files with 9 additions and 3 deletions

View file

@ -197,8 +197,8 @@ class IDFMAPI:
class RATPWeatherModule:
def __init__(self):
self.major_lines = ["M7", "M5", "M14", "RB", "T3A"]
def __init__(self, major_lines=["M7", "M5", "M14", "RB", "T3A"]):
self.major_lines = major_lines
def gen_alerts(self, config):
alerts = []