mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-17 22:14:25 +01:00
Users with no awards
This commit is contained in:
@@ -90,6 +90,7 @@ def solves(teamid=None):
|
|||||||
'category': solve.chal.category,
|
'category': solve.chal.category,
|
||||||
'time': unix_time(solve.date)
|
'time': unix_time(solve.date)
|
||||||
})
|
})
|
||||||
|
if awards:
|
||||||
for award in awards:
|
for award in awards:
|
||||||
json['solves'].append({
|
json['solves'].append({
|
||||||
'chal': award.name,
|
'chal': award.name,
|
||||||
|
|||||||
Reference in New Issue
Block a user