From 3efeda7e6f4d4c469ef579170e69fff96fb69e68 Mon Sep 17 00:00:00 2001 From: Cal Date: Fri, 28 Jun 2024 16:22:15 -0600 Subject: [PATCH] fix to fit PEP8 standards --- evennia/contrib/rpg/rpsystem/rpsystem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evennia/contrib/rpg/rpsystem/rpsystem.py b/evennia/contrib/rpg/rpsystem/rpsystem.py index ef53bfa793..b4938e8d3a 100644 --- a/evennia/contrib/rpg/rpsystem/rpsystem.py +++ b/evennia/contrib/rpg/rpsystem/rpsystem.py @@ -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