Skip to content
This repository has been archived by the owner on Oct 14, 2018. It is now read-only.

Commit

Permalink
PYTHON AND TYPES! (Make match start time an int)
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Haywood committed Apr 15, 2012
1 parent aa1ea24 commit b794f06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/schedule_finals.py
Expand Up @@ -445,7 +445,7 @@ def GetStartTimeOfMatch(knockout_match_no):

# now have the desired start realtime for the given match_no.
# need to magic this into competition time:
first_knockout_match_start_time = first_match_start_time - int(r.get("org.srobo.time.start"))
first_knockout_match_start_time = int(first_match_start_time) - int(r.get("org.srobo.time.start"))

return first_knockout_match_start_time + (knockout_match_no * scheduler.match_length)

Expand Down

0 comments on commit b794f06

Please sign in to comment.