From 22133beb724ba8289d3c0c417d3aec4124d3aa73 Mon Sep 17 00:00:00 2001 From: thuck Date: Sun, 6 Nov 2016 18:24:33 +0100 Subject: [PATCH] Fix small bug because result was not declared --- qutebrowser/browser/commands.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qutebrowser/browser/commands.py b/qutebrowser/browser/commands.py index 3ee28493e..5511dfeed 100644 --- a/qutebrowser/browser/commands.py +++ b/qutebrowser/browser/commands.py @@ -225,6 +225,7 @@ class CommandDispatcher: count: The tab index to close, or None """ tab = self._cntwidget(count) + result = True if tab is None: return