diff options
author | Florian Bruhin <me@the-compiler.org> | 2022-04-24 18:06:07 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2022-04-24 18:10:10 +0200 |
commit | e2db790593eee8329fe8b168e82043bcbb19cbae (patch) | |
tree | 8d0690d20472bba48e4074c463019e0b6d0b2ee6 /qutebrowser/browser/commands.py | |
parent | 65345eab9572fe2426eb8292aa4ab734c099576f (diff) | |
download | qutebrowser-new-stubs.tar.gz qutebrowser-new-stubs.zip |
wipnew-stubs
Diffstat (limited to 'qutebrowser/browser/commands.py')
-rw-r--r-- | qutebrowser/browser/commands.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qutebrowser/browser/commands.py b/qutebrowser/browser/commands.py index 00d5e521f..7f9c4810d 100644 --- a/qutebrowser/browser/commands.py +++ b/qutebrowser/browser/commands.py @@ -913,6 +913,7 @@ class CommandDispatcher: # Not sure how you enter a command without an active window... raise cmdutils.CommandError( "No window specified and couldn't find active window!") + assert isinstance(active_win, mainwindow.MainWindow) win_id = active_win.win_id if win_id not in objreg.window_registry: |