Fix 'in' vs 'equal' error

This commit is contained in:
Jay Kamat 2018-11-12 18:35:11 -08:00
parent 4e1d63ee5f
commit 3e1bfc3e28
No known key found for this signature in database
GPG Key ID: 5D2E399600F4F7B5

View File

@ -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)