Bulk asynchronous downloader for multiple file hosts
Python asynciobunkrcyberdropdownloaderdropboxfilestergofilegoogle-drivemediafiremegamega-nzonedrivepatreonpawchivepinterestpixeldraintransfer-ittwitchtwittervk
quick mistake fix
Jules-WinnfieldX08970c812d8f
diff --git a/cyberdrop_dl/__init__.py b/cyberdrop_dl/__init__.pyindex 748aec229..caceeef8c 100644--- a/cyberdrop_dl/__init__.py+++ b/cyberdrop_dl/__init__.py@@ -1 +1 @@-__version__ = "5.0.29"+__version__ = "5.0.31"diff --git a/cyberdrop_dl/utils/transfer/first_time_setup.py b/cyberdrop_dl/utils/transfer/first_time_setup.pyindex 8a9357830..1c2dbab68 100644--- a/cyberdrop_dl/utils/transfer/first_time_setup.py+++ b/cyberdrop_dl/utils/transfer/first_time_setup.py@@ -80,8 +80,11 @@ 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)with open(cache_file, 'r') as yaml_file:cache = yaml.load(yaml_file.read(), Loader=yaml.FullLoader)+ if cache is None:+ cache = {"first_startup_completed": False}cache['first_startup_completed'] = Truewith open(cache_file, 'w') as yaml_file:yaml.dump(cache, yaml_file)diff --git a/pyproject.toml b/pyproject.tomlindex c5ee7ce13..470960514 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -1,6 +1,6 @@[tool.poetry]name = "cyberdrop-dl"-version = "5.0.29"+version = "5.0.31"description = "Bulk downloader for multiple file hosts"authors = ["Jules Winnfield <[email protected]>"]readme = "README.md"