From b3c20b8ca41fea4a3c159f5bc8c60a27d8ce4891 Mon Sep 17 00:00:00 2001 From: Jules-WinnfieldX Date: Wed, 6 Mar 2024 16:43:34 -0700 Subject: [PATCH] fix transfer v4 --- cyberdrop_dl/__init__.py | 2 +- cyberdrop_dl/utils/transfer/transfer_v4_db.py | 2 +- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cyberdrop_dl/__init__.py b/cyberdrop_dl/__init__.py index 1a72020cc..a2a00c1c5 100644 --- a/cyberdrop_dl/__init__.py +++ b/cyberdrop_dl/__init__.py @@ -1 +1 @@ -__version__ = "5.1.84" \ No newline at end of file +__version__ = "5.1.85" \ No newline at end of file diff --git a/cyberdrop_dl/utils/transfer/transfer_v4_db.py b/cyberdrop_dl/utils/transfer/transfer_v4_db.py index 96f9c7b49..884e4d8d2 100644 --- a/cyberdrop_dl/utils/transfer/transfer_v4_db.py +++ b/cyberdrop_dl/utils/transfer/transfer_v4_db.py @@ -24,7 +24,7 @@ def transfer_v4_db(db_path: Path, new_db_path: Path) -> None: row[3] = str(Path(row[3]).parent) old_data_revised.append(tuple(row)) - new_db_connection.executemany("insert or ignore into media (domain, url_path, referer, album_id, download_path, download_filename, original_filename, completed) values (?, ?, ?, ?, ?, ?, ?)", old_data_revised) + new_db_connection.executemany("insert or ignore into media (domain, url_path, referer, download_path, download_filename, original_filename, completed) values (?, ?, ?, ?, ?, ?, ?)", old_data_revised) del old_data_history new_db_connection.commit() diff --git a/pyproject.toml b/pyproject.toml index 2adfcccf5..72f7655bf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "cyberdrop-dl" -version = "5.1.84" +version = "5.1.85" description = "Bulk downloader for multiple file hosts" authors = ["Jules Winnfield "] readme = "README.md"