Change days when line 6 is important

This commit is contained in:
nemunaire 2023-09-06 07:46:47 +02:00
parent eb90840b54
commit 4305865d5e
1 changed files with 1 additions and 3 deletions

View File

@ -113,9 +113,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 == 0 or weekday == 1 or weekday == 2 or weekday == 3:
major_lines.append("RA")
elif weekday == 4:
if weekday == 1 or weekday == 3 or weekday == 5:
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)))