Skip to content

Commit

Permalink
fix: SIM warning
Browse files Browse the repository at this point in the history
  • Loading branch information
TommasoAmici committed Sep 15, 2024
1 parent 15b7a44 commit 56b26b6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,7 @@ def is_video(self) -> bool:
"sporttube",
"dubz.co",
)
if any(s in self.url for s in streams):
return True
return False
return bool(any(s in self.url for s in streams))

def matches_wanted_teams(self) -> bool:
"""Returns True if the submission's title matches the teams list"""
Expand Down

0 comments on commit 56b26b6

Please # to comment.