This commit is contained in:
parent
77ef2f46c9
commit
bbda54a31e
2
main.py
2
main.py
@ -109,7 +109,7 @@ 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 == 1 or weekday == 3 or weekday == 5:
|
||||
if weekday == 0 or weekday == 2 or weekday == 4:
|
||||
major_lines.append("M6")
|
||||
from modules.ratp import RATPWeatherModule
|
||||
shape.append(WidgetPlacement(RATPWeatherModule, size=(int(480/1.6), 94), position=(480-int(480/1.6), 155)))
|
||||
|
Loading…
Reference in New Issue
Block a user