mirror of
https://github.com/evennia/evennia.git
synced 2026-03-29 12:07:17 +02:00
fix of empty-string category name
This commit is contained in:
parent
6d73605813
commit
38b36845d6
1 changed files with 1 additions and 1 deletions
|
|
@ -438,7 +438,7 @@ class IAttributeBackend:
|
|||
|
||||
"""
|
||||
key = key.strip().lower() if key else None
|
||||
category = category.strip().lower() if category else None
|
||||
category = category.strip().lower() if category is not None else None
|
||||
if key:
|
||||
return self._get_cache_key(key, category)
|
||||
return self._get_cache_category(category)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue