|
@@ -874,10 +874,16 @@ def getTournamentTop(
|
874
|
874
|
for standing in standings :
|
875
|
875
|
|
876
|
876
|
seeding = None
|
|
877
|
+ seeding32 = None
|
877
|
878
|
for seed in standing["entrant"]["seeds"]:
|
878
|
879
|
# Take the seeding from the phase with *all* Event entrants
|
879
|
880
|
if seed["phase"]["numSeeds"] == tournament.numEntrants:
|
880
|
881
|
seeding = seed["groupSeedNum"]
|
|
882
|
+ if seed["phase"]["numSeeds"] == 32:
|
|
883
|
+ seeding32 = seed["groupSeedNum"]
|
|
884
|
+ if seeding is None:
|
|
885
|
+ log.info("no global seeding found, using top 32 seeding")
|
|
886
|
+ seeding = seeding32
|
881
|
887
|
|
882
|
888
|
participant_data = standing["entrant"]["participants"][0]
|
883
|
889
|
|