link mauve: Fixed a crash on /help help help
This commit is contained in:
parent
b0d73d6b52
commit
6f274225b6
1 changed files with 1 additions and 1 deletions
|
@ -847,7 +847,7 @@ class Gui(object):
|
||||||
for command in list(self.commands.keys()):
|
for command in list(self.commands.keys()):
|
||||||
msg += "%s " % command
|
msg += "%s " % command
|
||||||
msg += _("\nType /help <command_name> to know what each command does")
|
msg += _("\nType /help <command_name> to know what each command does")
|
||||||
if len(args) == 1:
|
if len(args) >= 1:
|
||||||
if args[0] in list(self.commands.keys()):
|
if args[0] in list(self.commands.keys()):
|
||||||
msg = self.commands[args[0]][1]
|
msg = self.commands[args[0]][1]
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue