Merge branch 'dsalmon-main-patch-82238' into 'main'

Fix podcast downloading

See merge request team-zotify/zotify!4
This commit is contained in:
Not Logykk 2022-02-17 04:44:47 +00:00
commit daea0abfa4
1 changed files with 1 additions and 1 deletions

View File

@ -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()
):