Users with no awards

This commit is contained in:
CodeKevin
2016-05-23 20:20:39 -04:00
parent 9171b67235
commit d04fd0f5bf

View File

@@ -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,