diff --git a/qutebrowser/commands/command.py b/qutebrowser/commands/command.py index 2070197e7..d288118af 100644 --- a/qutebrowser/commands/command.py +++ b/qutebrowser/commands/command.py @@ -501,6 +501,9 @@ class Command: dbgout = ["command called:", self.name] if args: dbgout.append(str(args)) + elif args is None: + args = [] + if count is not None: dbgout.append("(count={})".format(count)) log.commands.debug(' '.join(dbgout))