mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
use result rather than iterate
This commit is contained in:
parent
d3fe999c4b
commit
dc94998f58
1 changed files with 1 additions and 1 deletions
|
|
@ -419,7 +419,7 @@ class TagHandler(object):
|
|||
if key:
|
||||
for tag_str in make_iter(key):
|
||||
tag_str = tag_str.strip().lower()
|
||||
ret.extend(bool(tag) for tag in self._getcache(tag_str, category))
|
||||
ret.append(bool(self._getcache(tag_str, category)))
|
||||
elif category:
|
||||
ret.extend(bool(tag) for tag in self._getcache(category=category))
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue