Merge pull request #3300 from davep/remove-screen-assert

Remove assertion that the calling screen is not None
This commit is contained in:
Dave Pearson
2023-09-13 22:09:54 +01:00
committed by GitHub

View File

@@ -575,7 +575,6 @@ class CommandPalette(ModalScreen[CallbackType], inherit_css=False):
# Fire up an instance of each command source, inside a task, and
# have them go start looking for matches.
assert self._calling_screen is not None
searches = [
create_task(
self._consume(