Compare commits
No commits in common. "bbda54a31eeeeb50289665323882e167dbe920b8" and "18b0820c26b42f03f798e1e87be113eeb08bc490" have entirely different histories.
bbda54a31e
...
18b0820c26
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 == 0 or weekday == 2 or 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)))
|
||||
|
@ -205,7 +205,7 @@ class IDFMAPI:
|
||||
disruptionIds.append(disruptionId)
|
||||
|
||||
for disruptionId in disruptionIds:
|
||||
if disruptionId in ['83691f06-234d-11ef-b7d8-0a58a9feac02', '1921779e-4439-11ef-b8a3-0a58a9feac02', '58fb726e-4a30-11ef-af84-0a58a9feac02', 'e34952cc-4ac8-11ef-af84-0a58a9feac02', '5fc2c90a-233c-11ef-b7d8-0a58a9feac02', '83691f06-234d-11ef-b7d8-0a58a9feac02', 'd3ca632e-234d-11ef-b7d8-0a58a9feac02', 'bca112d2-233a-11ef-b003-0a58a9feac02']:
|
||||
if disruptionId in ['83691f06-234d-11ef-b7d8-0a58a9feac02', '1921779e-4439-11ef-b8a3-0a58a9feac02', '58fb726e-4a30-11ef-af84-0a58a9feac02', 'e34952cc-4ac8-11ef-af84-0a58a9feac02']:
|
||||
continue
|
||||
impactType = disruptionTypes[disruptionId]
|
||||
status = "past"
|
||||
|
Loading…
x
Reference in New Issue
Block a user