Skip to content

Commit

Permalink
Update Generate.py
Browse files Browse the repository at this point in the history
  • Loading branch information
remyjette authored Nov 22, 2023
1 parent ab7e55e commit 15a8f67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def main(args=None, callback=ERmain):
args.multi = max(player_id - 1, args.multi)

if args.multi == 0:
raise Exception("No individual player files found and number of players is 0. "
raise ValueError("No individual player files found and number of players is 0. "
"Provide individual player files or specify the number of players via host.yaml or --multi.")

logging.info(f"Generating for {args.multi} player{'s' if args.multi > 1 else ''}, "
Expand Down

0 comments on commit 15a8f67

Please sign in to comment.