Skip to content

Bulk asynchronous downloader for multiple file hosts

Move gif sorting to other.

Jules-WinnfieldXb10e028d0b23
diff --git a/cyberdrop_dl/__init__.py b/cyberdrop_dl/__init__.py
index c6b012290..c87e6acaa 100644
--- a/cyberdrop_dl/__init__.py
+++ b/cyberdrop_dl/__init__.py
@@ -1 +1 @@
-__version__ = "5.0.41"
+__version__ = "5.0.42"
diff --git a/cyberdrop_dl/utils/sorting.py b/cyberdrop_dl/utils/sorting.py
index 2169d5c19..964e8896b 100644
--- a/cyberdrop_dl/utils/sorting.py
+++ b/cyberdrop_dl/utils/sorting.py
@@ -105,6 +105,11 @@ class Sorter:
"""Sorts an image file into the sorted image folder"""
self.image_count += 1
+ if ".gif" in file.suffix.lower():
+ await self.sort_other(file, base_name)
+ self.other_count -= 1
+ return
+
image = Image.open(file)
width, height = image.size
resolution = f"{width}x{height}"
diff --git a/pyproject.toml b/pyproject.toml
index 160a7a022..3c8e635e1 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "cyberdrop-dl"
-version = "5.0.41"
+version = "5.0.42"
description = "Bulk downloader for multiple file hosts"
authors = ["Jules Winnfield <[email protected]>"]
readme = "README.md"