Fix traceback when using sethelp/edit to create a new topic

This commit is contained in:
Chiizujin 2024-03-30 12:48:38 +11:00
parent a1023ebc7e
commit 8f67f3934c

View file

@ -953,7 +953,7 @@ class CmdSetHelp(CmdHelp):
else: else:
helpentry = create.create_help_entry( helpentry = create.create_help_entry(
topicstr, topicstr,
self.rhs, self.rhs if self.rhs is not None else "",
category=category, category=category,
locks=lockstring, locks=lockstring,
aliases=aliases, aliases=aliases,