Fixed syntax error
This commit is contained in:
parent
b553698c85
commit
a1df2b0ef6
1 changed files with 1 additions and 1 deletions
|
|
@ -408,7 +408,7 @@ def get_winrate_over_time(session: Session, player_name: str | None = None, day_
|
|||
|
||||
all_playplayers = list(filter(lambda playplayer: boardgame_id == None or playplayer.play.boardgame.id == boardgame_id, all_playplayers))
|
||||
|
||||
if len(all_playplayers > 0):
|
||||
if len(all_playplayers) > 0:
|
||||
if start_date > all_playplayers[0].play.play_date:
|
||||
start_date = all_playplayers[0].play.play_date
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue