1
0
Fork 0
mirror of synced 2024-05-19 20:12:30 +12:00

Use correct variable reference

This commit is contained in:
Phxntxm 2017-05-18 21:04:33 -05:00
parent 19507d06ba
commit 159efa6dee

View file

@ -86,7 +86,7 @@ class Miscallaneous:
description = command.help
if description is not None:
# 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:')
else:
example = None