Skip to content

Commit

Permalink
Changes for gap in downloaded files handling
Browse files Browse the repository at this point in the history
  • Loading branch information
dplocki committed Feb 20, 2024
1 parent 2aafaaf commit b3249d6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions podcast_downloader/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,12 +249,12 @@ def configuration_to_function_rss_to_name(
last_downloaded_file = get_last_downloaded_file_before_gap(
all_feed_files, downloaded_files
)
download_limiter_function = None
else:
last_downloaded_file = downloaded_files[0]
download_limiter_function = partial(
build_only_new_entities(to_name_function), last_downloaded_file
)

download_limiter_function = partial(
build_only_new_entities(to_name_function), last_downloaded_file
)
else:
download_limiter_function = on_directory_empty

Expand Down

0 comments on commit b3249d6

Please sign in to comment.