Compare commits
8 Commits
main
...
remove_pla
Author | SHA1 | Date |
---|---|---|
Joachim Lusiardi | 72f4a9f49d | |
Joachim Lusiardi | 0791a23d8c | |
Joachim Lusiardi | 80264f1d02 | |
Joachim Lusiardi | a6aab66f55 | |
Joachim Lusiardi | 7443f69fea | |
Joachim Lusiardi | 2ce0b3a34a | |
Joachim Lusiardi | fc1a64ac0c | |
Joachim Lusiardi | 06653d53b2 |
|
@ -226,6 +226,5 @@ def get_pit_stops():
|
||||||
"regulars": vehicle.regulars,
|
"regulars": vehicle.regulars,
|
||||||
}
|
}
|
||||||
user["vehicles"].append(v)
|
user["vehicles"].append(v)
|
||||||
user["vehicles"].sort(key=lambda v: (v["data"][-1].date, v["data"][-1].odometer or 0 ), reverse=True)
|
|
||||||
|
|
||||||
return render_template("pitstops.html", user=user)
|
return render_template("pitstops.html", user=user)
|
||||||
|
|
Loading…
Reference in New Issue