Skip to content

Bulk asynchronous downloader for multiple file hosts

fix type casting

Jules-WinnfieldXf0ccff9d2b6a
diff --git a/cyberdrop_dl/__init__.py b/cyberdrop_dl/__init__.py
index 531ea29b0..b299f4c81 100644
--- a/cyberdrop_dl/__init__.py
+++ b/cyberdrop_dl/__init__.py
@@ -1 +1 @@
-__version__ = "5.1.55"
\ No newline at end of file
+__version__ = "5.1.56"
\ No newline at end of file
diff --git a/cyberdrop_dl/utils/sorting.py b/cyberdrop_dl/utils/sorting.py
index 4c2ca1303..95d235c5e 100644
--- a/cyberdrop_dl/utils/sorting.py
+++ b/cyberdrop_dl/utils/sorting.py
@@ -15,7 +15,7 @@ if TYPE_CHECKING:
from cyberdrop_dl.managers.manager import Manager
-def get_file_date_in_us_ca_formats(file: Path) -> tuple(str, str):
+def get_file_date_in_us_ca_formats(file: Path) -> tuple[str, str]:
file_date = filedate.File(str(file)).get()
file_date_us = file_date['modified'].strftime("%Y-%d-%m")
file_date_ca = file_date['modified'].strftime("%Y-%m-%d")
diff --git a/pyproject.toml b/pyproject.toml
index 7dd4ea3ef..efe3bcef5 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "cyberdrop-dl"
-version = "5.1.55"
+version = "5.1.56"
description = "Bulk downloader for multiple file hosts"
authors = ["Jules Winnfield <[email protected]>"]
readme = "README.md"