summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-10-31 19:02:57 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-10-31 19:02:57 +0000
commit6f274225b6c0cdd99fea752688615a574bd2ddd0 (patch)
treeb0a6c803a5af4a030b53256ad6d67e505f648f82
parentb0d73d6b5217666803be0702d34825cc8b143c8a (diff)
downloadpoezio-6f274225b6c0cdd99fea752688615a574bd2ddd0.tar.gz
poezio-6f274225b6c0cdd99fea752688615a574bd2ddd0.tar.bz2
poezio-6f274225b6c0cdd99fea752688615a574bd2ddd0.tar.xz
poezio-6f274225b6c0cdd99fea752688615a574bd2ddd0.zip
link mauve: Fixed a crash on /help help help
-rw-r--r--src/gui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui.py b/src/gui.py
index f1d5eb0c..21517da0 100644
--- a/src/gui.py
+++ b/src/gui.py
@@ -847,7 +847,7 @@ class Gui(object):
for command in list(self.commands.keys()):
msg += "%s " % command
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()):
msg = self.commands[args[0]][1]
else: