okay, *really* fixed schedule generation
This commit is contained in:
parent
9a22860ad8
commit
53b857bf2c
|
@ -209,7 +209,7 @@ class league_structure(object):
|
||||||
if extra_teams != []:
|
if extra_teams != []:
|
||||||
if len(extra_teams) % 2 == 0:
|
if len(extra_teams) % 2 == 0:
|
||||||
for index in range(0, int(len(extra_teams)/2)):
|
for index in range(0, int(len(extra_teams)/2)):
|
||||||
matchups.append([extra_teams[index], extra_teams[index+1]])
|
matchups.append([extra_teams[index].name, extra_teams[index+1].name])
|
||||||
|
|
||||||
|
|
||||||
for subleague in league.keys():
|
for subleague in league.keys():
|
||||||
|
|
Loading…
Reference in a new issue