Fix generation from lkrz file

master
Lertsenem 2021-11-28 23:58:08 +01:00
parent 8055d8af80
commit 809b999ab3
1 changed files with 4 additions and 1 deletions

View File

@ -123,7 +123,10 @@ def get_infos_from_file(
log.info("Loading data from '{}'".format(str(lkrz_file_path))) log.info("Loading data from '{}'".format(str(lkrz_file_path)))
if s in lkrz: top_players = {}
tournament = None
for s in lkrz:
section = lkrz[s] section = lkrz[s]
if s == "Tournament": if s == "Tournament":
tournament = smashgg.Tournament( tournament = smashgg.Tournament(