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
|
||||
major_lines = ["M7", "M14", "RB", "TT3A"]
|
||||
weekday = datetime.now().weekday()
|
||||
if weekday == 0 or weekday == 1 or weekday == 3:
|
||||
major_lines.append("M1")
|
||||
if weekday == 0 or weekday == 1 or weekday == 2 or weekday == 3:
|
||||
major_lines.append("RA")
|
||||
elif weekday == 4:
|
||||
major_lines.append("M6")
|
||||
from modules.ratp import RATPWeatherModule
|
||||
|
Loading…
Reference in New Issue
Block a user