ratp: Make traffic aware lines configurable
This commit is contained in:
parent
804eb38f18
commit
4bf17e2e39
2 changed files with 9 additions and 3 deletions
|
|
@ -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 = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue