Show news about RER A from monday to thursday
This commit is contained in:
parent
960c1592cd
commit
e3d2611589
4
main.py
4
main.py
@ -107,8 +107,8 @@ def main(only_on_coming_evt=False, ignore_module=[], force_coming_event=True, ex
|
|||||||
# RATP weather
|
# RATP weather
|
||||||
major_lines = ["M7", "M14", "RB", "TT3A"]
|
major_lines = ["M7", "M14", "RB", "TT3A"]
|
||||||
weekday = datetime.now().weekday()
|
weekday = datetime.now().weekday()
|
||||||
if weekday == 0 or weekday == 1 or weekday == 3:
|
if weekday == 0 or weekday == 1 or weekday == 2 or weekday == 3:
|
||||||
major_lines.append("M1")
|
major_lines.append("RA")
|
||||||
elif weekday == 4:
|
elif weekday == 4:
|
||||||
major_lines.append("M6")
|
major_lines.append("M6")
|
||||||
from modules.ratp import RATPWeatherModule
|
from modules.ratp import RATPWeatherModule
|
||||||
|
Loading…
x
Reference in New Issue
Block a user