diff --git a/qutebrowser/misc/utilcmds.py b/qutebrowser/misc/utilcmds.py index 2e4ad21bf..948f1ca0e 100644 --- a/qutebrowser/misc/utilcmds.py +++ b/qutebrowser/misc/utilcmds.py @@ -226,10 +226,9 @@ def repeat_command(win_id, count=None): """Repeat the last executed command, like '.' in vi. Args: - count: Which numeric argument to give the command. + count: Which count to pass the command. """ - mode_manager = objreg.get('mode-manager', scope='window', - window=win_id) + mode_manager = objreg.get('mode-manager', scope='window', window=win_id) if mode_manager.mode not in runners.last_command: raise cmdexc.CommandError("You didn't do anything yet.") cmd = runners.last_command[mode_manager.mode]