Assign solves.filter query (#896)

Closes #895
selenium-screenshot-testing
David Chan 2019-03-17 10:12:57 -07:00 committed by Kevin Chung
parent 79b7b1dd5c
commit da98bc9314
1 changed files with 1 additions and 1 deletions

View File

@ -528,7 +528,7 @@ class Teams(db.Model):
freeze = get_config('freeze')
if freeze and admin is False:
dt = datetime.datetime.utcfromtimestamp(freeze)
fails = solves.filter(Solves.date < dt)
solves = solves.filter(Solves.date < dt)
return solves.all()