From 554d5d2745c515a407248257cb9e9d5c98b20898 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 2 May 2014 11:28:11 +0200 Subject: [PATCH] Fix command length (s/args/nargs) --- qutebrowser/commands/managers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/commands/managers.py b/qutebrowser/commands/managers.py index ca8c7cec1..e10a2b9cb 100644 --- a/qutebrowser/commands/managers.py +++ b/qutebrowser/commands/managers.py @@ -177,7 +177,7 @@ class CommandManager: self._args = args retargs = args[:] if text.endswith(' ') and (cmd.split is True or - len(args) < cmd.args[0]): + len(args) < cmd.nargs[0]): retargs.append('') return [cmdstr] + retargs