From 3aabb09526020c8d15b4ac90df4286b6b1339e0c Mon Sep 17 00:00:00 2001 From: Niklas Wagner Date: Sat, 28 Sep 2024 17:31:36 +0200 Subject: [PATCH] Redurce diff --- gallery_dl/downloader/http.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gallery_dl/downloader/http.py b/gallery_dl/downloader/http.py index a697d97c7a..d7780093f8 100644 --- a/gallery_dl/downloader/http.py +++ b/gallery_dl/downloader/http.py @@ -217,16 +217,14 @@ def _download_impl(self, url, pathfmt): self.release_conn(response) self.log.warning( "File size smaller than allowed minimum (%s < %s)", - size, self.minsize, - ) + size, self.minsize) pathfmt.temppath = "" return True if self.maxsize and size > self.maxsize: self.release_conn(response) self.log.warning( "File size larger than allowed maximum (%s > %s)", - size, self.maxsize, - ) + size, self.maxsize) pathfmt.temppath = "" return True