Skip to content

Bulk asynchronous downloader for multiple file hosts

try except around transition config.

Jules-WinnfieldX3aaeb61ce5d4
diff --git a/cyberdrop_dl/__init__.py b/cyberdrop_dl/__init__.py
index 429aaa0db..04433defd 100644
--- a/cyberdrop_dl/__init__.py
+++ b/cyberdrop_dl/__init__.py
@@ -1 +1 @@
-__version__ = "5.1.51"
+__version__ = "5.1.52"
\ No newline at end of file
diff --git a/cyberdrop_dl/utils/transfer/first_time_setup.py b/cyberdrop_dl/utils/transfer/first_time_setup.py
index ca51202a4..d2d83bd1c 100644
--- a/cyberdrop_dl/utils/transfer/first_time_setup.py
+++ b/cyberdrop_dl/utils/transfer/first_time_setup.py
@@ -55,8 +55,11 @@ class TransitionManager:
(APP_STORAGE / "download_history.sqlite").rename(OLD_FILES / "download_history2.sqlite")
if Path("./config.yaml").is_file():
- self.transfer_v4_config(Path("./config.yaml"), "Imported V4")
- self.update_default_config(APP_STORAGE / "Cache" / "cache.yaml", "Imported V4")
+ try:
+ self.transfer_v4_config(Path("./config.yaml"), "Imported V4")
+ self.update_default_config(APP_STORAGE / "Cache" / "cache.yaml", "Imported V4")
+ except Exception as e:
+ pass
Path("./config.yaml").rename(OLD_FILES / "config.yaml")
if Path("./downloader.log").is_file():
diff --git a/pyproject.toml b/pyproject.toml
index 775cfeace..022b76711 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "cyberdrop-dl"
-version = "5.1.51"
+version = "5.1.52"
description = "Bulk downloader for multiple file hosts"
authors = ["Jules Winnfield <[email protected]>"]
readme = "README.md"