diff --git a/qutebrowser/commands/runners.py b/qutebrowser/commands/runners.py index 722b7c2a9..9c1d64565 100644 --- a/qutebrowser/commands/runners.py +++ b/qutebrowser/commands/runners.py @@ -213,7 +213,7 @@ class CommandRunner(QObject): cmdstr modified to the matching completion or unmodified """ matches = [] - for valid_command in cmdutils.cmd_dict.keys(): + for valid_command in cmdutils.cmd_dict: if valid_command.find(cmdstr) == 0: matches.append(valid_command) if len(matches) == 1: