From f0ccff9d2b6a08e923ba3ebc23fd5c8bca9d6a40 Mon Sep 17 00:00:00 2001 From: Jules-WinnfieldX Date: Sun, 28 Jan 2024 10:08:27 -0700 Subject: [PATCH] fix type casting --- cyberdrop_dl/__init__.py | 2 +- cyberdrop_dl/utils/sorting.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 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 @@ 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 "] readme = "README.md"