Fix lkrz trying to load if file does not exist
parent
d6f792c01d
commit
4b2e5489e5
|
@ -201,7 +201,7 @@ def main():
|
|||
tournament = None
|
||||
top_players = {}
|
||||
|
||||
if args.lkrz_file is not None:
|
||||
if args.lkrz_file is not None and args.lkrz_file.exists():
|
||||
lkrz = configparser.ConfigParser()
|
||||
lkrz.read(str(args.lkrz_file))
|
||||
|
||||
|
|
Loading…
Reference in New Issue