From 3999802c710f6c1c731016e088ccc5720852eb31 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 11 Jun 2018 11:32:26 +0200 Subject: [PATCH] Add missing 'return' --- qutebrowser/browser/webengine/webenginetab.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qutebrowser/browser/webengine/webenginetab.py b/qutebrowser/browser/webengine/webenginetab.py index 1f1b4f374..16b6f6e00 100644 --- a/qutebrowser/browser/webengine/webenginetab.py +++ b/qutebrowser/browser/webengine/webenginetab.py @@ -338,6 +338,7 @@ class WebEngineCaret(browsertab.AbstractCaret): if js_elem == "focused": # we had a focused element, not a selected one. Just send self._follow_enter(tab) + return assert isinstance(js_elem, dict), js_elem elem = webengineelem.WebEngineElement(js_elem, tab=self._tab)