Fixed lint issues
This commit is contained in:
parent
5721d64991
commit
0cb4a26cf2
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user