From 9fbac70e94a5776c6e8048a6d78686ba443d153f Mon Sep 17 00:00:00 2001 From: Askaholic Date: Sun, 31 Oct 2021 19:16:13 -0800 Subject: [PATCH] Fix typing --- server/matchmaker/matchmaker_queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/matchmaker/matchmaker_queue.py b/server/matchmaker/matchmaker_queue.py index 778407981..925dd14a8 100644 --- a/server/matchmaker/matchmaker_queue.py +++ b/server/matchmaker/matchmaker_queue.py @@ -90,7 +90,7 @@ def get_map_pool_for_rating(self, rating: float) -> Optional[MapPool]: continue return map_pool - def get_game_options(self) -> dict[str, Any]: + def get_game_options(self) -> Optional[dict[str, Any]]: return self.params.get("GameOptions") or None def initialize(self):