Skip to content

Commit

Permalink
Merge pull request #3300 from davep/remove-screen-assert
Browse files Browse the repository at this point in the history
Remove assertion that the calling screen is not None
  • Loading branch information
davep authored Sep 13, 2023
2 parents 9368e9e + 0c75239 commit 26e9833
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/textual/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,6 @@ async def _search_for(self, search_value: str) -> AsyncGenerator[Hit, bool]:

# 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(
Expand Down

0 comments on commit 26e9833

Please sign in to comment.