Skip to content

Commit

Permalink
Add black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dplocki committed Jan 7, 2024
1 parent 4e0c5b7 commit bd7e39c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion podcast_downloader/rss.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,12 @@ def flatten_rss_links_data(
source: Generator[feedparser.FeedParserDict, None, None]
) -> Generator[RSSEntity, None, None]:
return (
RSSEntity(rss_entry.published_parsed, rss_entry.title, link.type, link.get('href', None))
RSSEntity(
rss_entry.published_parsed,
rss_entry.title,
link.type,
link.get("href", None),
)
for rss_entry in source
for link in rss_entry.links
)
Expand Down

0 comments on commit bd7e39c

Please sign in to comment.