Use correct variable reference
This commit is contained in:
parent
19507d06ba
commit
159efa6dee
|
@ -86,7 +86,7 @@ class Miscallaneous:
|
||||||
description = command.help
|
description = command.help
|
||||||
if description is not None:
|
if description is not None:
|
||||||
# Split into examples, results, and the description itself based on the string
|
# Split into examples, results, and the description itself based on the string
|
||||||
description, _, rest = cmd.help.partition('EXAMPLE:')
|
description, _, rest = command.help.partition('EXAMPLE:')
|
||||||
example, _, result = rest.partition('RESULT:')
|
example, _, result = rest.partition('RESULT:')
|
||||||
else:
|
else:
|
||||||
example = None
|
example = None
|
||||||
|
|
Loading…
Reference in a new issue