Skip to content

Commit

Permalink
Update for 2017
Browse files Browse the repository at this point in the history
  • Loading branch information
Mortal committed May 25, 2017
1 parent 56de5a1 commit 06b6100
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions news/reporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,14 @@ def get_current_events(qs, now=None):


def tt_kasse_i_kass(timetrial):
return timetrial.id == 335
k2016 = timetrial.id == 335
k2017 = (timetrial.profile_id == 424 and
timetrial.start_time.date() == datetime.date(2017, 5, 27))
return k2016 or k2017


def profile_kass(profile):
return profile.id == 164
return profile.id in (164, 424)


def get_timetrial_state(tt):
Expand Down

0 comments on commit 06b6100

Please sign in to comment.