Skip to content

Commit 6916a09

Browse files
committed
Always interpret the name of a matchmaking type as string
1 parent c9967f9 commit 6916a09

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ def _get_matchmaking_config(matchmaking_section: dict[str, Any]) -> MatchmakingC
520520
"initial_minutes+increment_seconds format."
521521
)
522522

523-
types[matchmaking_type] = MatchmakingTypeConfig(
523+
types[str(matchmaking_type)] = MatchmakingTypeConfig(
524524
matchmaking_options["tc"],
525525
matchmaking_options.get("rated"),
526526
matchmaking_options.get("variant"),

0 commit comments

Comments
 (0)