Skip to content

Commit

Permalink
Forgot to update a warning log message.
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePhar committed May 23, 2024
1 parent 7c1e0fc commit 0aba620
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CommonClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ def __getitem__(self, key: str) -> typing.Union[typing.ChainMap[int, str], typin
if isinstance(key, int):
logger.warning(f"Implicit name lookup by id only is deprecated and only supported to maintain backwards"
f"compatibility for now. If multiple games share the same id for a {self.lookup_type}, "
f"name could be incorrect. Please use `{self.lookup_type}_names.lookup_by_game()` or "
f"`{self.lookup_type}_names.lookup_by_slot()` instead to avoid this issue.")
f"name could be incorrect. Please use `{self.lookup_type}_names.lookup_in_game()` or "
f"`{self.lookup_type}_names.lookup_in_slot()` instead to avoid this issue.")
return self._flat_store[key]

return self._game_store[key]
Expand Down

0 comments on commit 0aba620

Please sign in to comment.