Fixed lint issues

This commit is contained in:
Fmstrat 2022-07-18 15:10:43 -04:00
parent 5721d64991
commit 0cb4a26cf2

View File

@ -138,7 +138,9 @@ class User(BaseModel):
)
total = (
db.session.query(
func.sum(Workout.distance), func.sum(Workout.duration), func.sum(Workout.ascent)
func.sum(Workout.distance),
func.sum(Workout.duration),
func.sum(Workout.ascent),
)
.filter(Workout.user_id == self.id)
.first()