mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
fix to fit PEP8 standards
This commit is contained in:
parent
c41f5d9ebd
commit
3efeda7e6f
1 changed files with 1 additions and 1 deletions
|
|
@ -442,7 +442,7 @@ def parse_sdescs_and_recogs(
|
|||
(re.search(rquery, text, _RE_FLAGS), obj, text) for obj, text in candidate_map
|
||||
)
|
||||
# filter out any non-matching candidates
|
||||
bestmatches = [(obj, m.group()) for m, obj, text in matches if m]
|
||||
bestmatches = [(obj, mtch.group()) for mtch, obj, text in matches if mtch]
|
||||
|
||||
else:
|
||||
# to find the longest match, we start from the marker and lengthen the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue