mirror of https://github.com/JohnHammond/CTFd.git
parent
79b7b1dd5c
commit
da98bc9314
|
@ -528,7 +528,7 @@ class Teams(db.Model):
|
||||||
freeze = get_config('freeze')
|
freeze = get_config('freeze')
|
||||||
if freeze and admin is False:
|
if freeze and admin is False:
|
||||||
dt = datetime.datetime.utcfromtimestamp(freeze)
|
dt = datetime.datetime.utcfromtimestamp(freeze)
|
||||||
fails = solves.filter(Solves.date < dt)
|
solves = solves.filter(Solves.date < dt)
|
||||||
|
|
||||||
return solves.all()
|
return solves.all()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue