Skip to content

Bulk asynchronous downloader for multiple file hosts

Fix 2

Jules-WinnfieldX0598bbef4519
diff --git a/cyberdrop_dl/__init__.py b/cyberdrop_dl/__init__.py
index caceeef8c..6f3144c5d 100644
--- a/cyberdrop_dl/__init__.py
+++ b/cyberdrop_dl/__init__.py
@@ -1 +1 @@
-__version__ = "5.0.31"
+__version__ = "5.0.32"
diff --git a/cyberdrop_dl/utils/transfer/first_time_setup.py b/cyberdrop_dl/utils/transfer/first_time_setup.py
index 1c2dbab68..13b690953 100644
--- a/cyberdrop_dl/utils/transfer/first_time_setup.py
+++ b/cyberdrop_dl/utils/transfer/first_time_setup.py
@@ -81,6 +81,7 @@ class TransitionManager:
def update_cache(self, cache_file: Path) -> None:
"""Updates the cache to reflect the new location"""
cache_file.parent.mkdir(parents=True, exist_ok=True)
+ cache_file.touch(exist_ok=True)
with open(cache_file, 'r') as yaml_file:
cache = yaml.load(yaml_file.read(), Loader=yaml.FullLoader)
if cache is None:
diff --git a/pyproject.toml b/pyproject.toml
index 470960514..848dfa584 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "cyberdrop-dl"
-version = "5.0.31"
+version = "5.0.32"
description = "Bulk downloader for multiple file hosts"
authors = ["Jules Winnfield <[email protected]>"]
readme = "README.md"