ratp: Display only one line on scheduled work
This commit is contained in:
parent
3cd297c639
commit
d9689a679d
@ -291,6 +291,9 @@ class RATPWeatherModule:
|
||||
if ap["begin"] < yesterday:
|
||||
oneline = True
|
||||
|
||||
if "cause" in disruption and disruption["cause"] == "travaux" and ap["begin"] > now:
|
||||
oneline = True
|
||||
|
||||
if len(application_periods) == 0:
|
||||
continue
|
||||
elif len(application_periods) == 1:
|
||||
|
Loading…
x
Reference in New Issue
Block a user