summaryrefslogtreecommitdiff
path: root/qutebrowser/components
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2021-01-12 13:50:43 +0100
committerFlorian Bruhin <me@the-compiler.org>2021-01-13 20:26:59 +0100
commitc99b7c66e0ef3f471b0c35efd1fb1cd3ce795219 (patch)
tree5b7d6b1067c460553c71f53169849b0580676cd4 /qutebrowser/components
parent14373db9c7f7bee0a7e0039da7bd6c039301031b (diff)
downloadqutebrowser-c99b7c66e0ef3f471b0c35efd1fb1cd3ce795219.tar.gz
qutebrowser-c99b7c66e0ef3f471b0c35efd1fb1cd3ce795219.zip
dataclasses: Initial mypy fix
See #6023
Diffstat (limited to 'qutebrowser/components')
-rw-r--r--qutebrowser/components/misccommands.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/qutebrowser/components/misccommands.py b/qutebrowser/components/misccommands.py
index 85598f56a..b8906b7b0 100644
--- a/qutebrowser/components/misccommands.py
+++ b/qutebrowser/components/misccommands.py
@@ -339,6 +339,7 @@ def devtools(tab: apitypes.Tab,
@cmdutils.argument('tab', value=cmdutils.Value.cur_tab)
def devtools_focus(tab: apitypes.Tab) -> None:
"""Toggle focus between the devtools/tab."""
+ assert tab.data.splitter is not None
try:
tab.data.splitter.cycle_focus()
except apitypes.InspectorError as e: