From 3e1bfc3e28e7a48021a3b528a235f06c8eb8ced6 Mon Sep 17 00:00:00 2001 From: Jay Kamat Date: Mon, 12 Nov 2018 18:35:11 -0800 Subject: [PATCH] Fix 'in' vs 'equal' error --- qutebrowser/browser/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/browser/commands.py b/qutebrowser/browser/commands.py index d0627de92..ceafbc011 100644 --- a/qutebrowser/browser/commands.py +++ b/qutebrowser/browser/commands.py @@ -653,7 +653,7 @@ class CommandDispatcher: handler(browsertab=widget, win_id=self._win_id, baseurl=url, tab=tab, background=bg, window=window) elif where in ['up', 'increment', 'decrement']: - if where is 'up': + if where == 'up': url = url.adjusted(QUrl.RemoveFragment | QUrl.RemoveQuery) new_url = handlers[where](url, count) self._open(new_url, tab, bg, window, related=True)