Skip to content

Commit

Permalink
Fix TimeTrialBest
Browse files Browse the repository at this point in the history
  • Loading branch information
Mortal committed Nov 10, 2019
1 parent c221b3d commit c7ed728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stopwatch/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ def get_timetrial_list(self, **kwargs):
try:
qs_distinct = qs.distinct('profile')
return list(qs_distinct)
except NotImplementedError:
except (NotImplementedError, NotSupportedError):
res = {}
for tt in qs:
res.setdefault(tt.profile_id, tt)
Expand Down

0 comments on commit c7ed728

Please sign in to comment.