Fix podcast downloading

This commit is contained in:
DS 2022-02-16 10:39:53 +00:00
parent 2e348b90d1
commit 0ab438d23d

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