Skip to content

Commit

Permalink
Make mypy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
kovidgoyal committed Dec 22, 2023
1 parent c03d99e commit 79db8b4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions kitty/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -732,9 +732,6 @@ def has_running_program(self) -> bool:
return not self.at_prompt

def matches(self, field: str, pat: MatchPatternType) -> bool:
if not pat:
return False

if isinstance(pat, tuple):
if field == 'env':
return key_val_matcher(self.child.environ.items(), *pat)
Expand Down

0 comments on commit 79db8b4

Please sign in to comment.