mirror of
https://github.com/evennia/evennia.git
synced 2026-03-27 18:26:32 +01:00
key formatting
This commit is contained in:
parent
bdca12cd90
commit
e86478d895
1 changed files with 1 additions and 1 deletions
|
|
@ -319,7 +319,7 @@ def regex_tuple_from_key_alias(obj):
|
|||
"""
|
||||
global _REGEX_TUPLE_CACHE
|
||||
permutation_string = " ".join([obj.key] + obj.aliases.all())
|
||||
cache_key = " ".join((obj.id, permutation_string))
|
||||
cache_key = f"{obj.id} {permutation_string}"
|
||||
|
||||
if cache_key not in _REGEX_TUPLE_CACHE:
|
||||
_REGEX_TUPLE_CACHE[cache_key] = (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue