From 0ab438d23dea5c341d1d05b6473eaf2ab813e86d Mon Sep 17 00:00:00 2001 From: DS <1269929-dsalmon@users.noreply.gitlab.com> Date: Wed, 16 Feb 2022 10:39:53 +0000 Subject: [PATCH] Fix podcast downloading --- zotify/podcast.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zotify/podcast.py b/zotify/podcast.py index cf7a37e..e630184 100644 --- a/zotify/podcast.py +++ b/zotify/podcast.py @@ -99,7 +99,7 @@ def download_episode(episode_id) -> None: filepath = PurePath(download_directory).joinpath(f"{filename}.ogg") if ( - Path(filepath).isfile() + Path(filepath).is_file() and Path(filepath).stat().st_size == total_size and Zotify.CONFIG.get_skip_existing() ):