From 607004f2ebd82e8a123b6966cd3db625d7acd48e Mon Sep 17 00:00:00 2001 From: Griatch Date: Tue, 10 Sep 2019 19:57:22 +0200 Subject: [PATCH] Fix mismatching help query in OOC mode. Resolve #1914. --- evennia/commands/default/help.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/evennia/commands/default/help.py b/evennia/commands/default/help.py index f8d212f0e5..f03773eb89 100644 --- a/evennia/commands/default/help.py +++ b/evennia/commands/default/help.py @@ -267,7 +267,8 @@ class CmdHelp(Command): return # no exact matches found. Just give suggestions. - self.msg((self.format_help_entry("", "No help entry found for '%s'" % query, None, suggested=suggestions), {"type": "help"})) + self.msg(self.format_help_entry("", f"No help entry found for '{query}'", + None, suggested=suggestions), options={"type": "help"}) def _loadhelp(caller):