Skip to content

Commit

Permalink
Fix filter call
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-bergia committed Jul 10, 2023
1 parent f9e3387 commit 394cafa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reminder.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ def zoom_meeting_url(self):
include_public = False,
)

stream = filter(
stream = next(filter(
lambda s: s["id"] == CONFIG["ts_stream_id"],
response["streams"],
)[0]
))
match = CONFIG["zoom_url_regex"].match(stream["description"])

return match.group()
Expand Down

0 comments on commit 394cafa

Please sign in to comment.