aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/__init__.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2025-12-20 05:49:11 -0500
committerLibravatarUnit 193 <unit193@unit193.net>2025-12-20 05:49:11 -0500
commitc586ea4b3c871f5696626f9820e8c88a4e78f4a6 (patch)
treee6d7bae96282c3d147159f091d451e53bdaa2efe /gallery_dl/__init__.py
parent01a2bf622c31072d1322884584404b9bd59b28cc (diff)
parenta24ec1647aeac35a63b744ea856011ad6e06be3b (diff)
Update upstream source from tag 'upstream/1.31.1'
Update to upstream version '1.31.1' with Debian dir b5d91c25143175f933b1c69c7e82249cd7e145ab
Diffstat (limited to 'gallery_dl/__init__.py')
-rw-r--r--gallery_dl/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gallery_dl/__init__.py b/gallery_dl/__init__.py
index fdcb6d0..98f8c12 100644
--- a/gallery_dl/__init__.py
+++ b/gallery_dl/__init__.py
@@ -284,14 +284,14 @@ def main():
# unsupported file logging handler
if handler := output.setup_logging_handler(
- "unsupportedfile", fmt="{message}"):
+ "unsupportedfile", fmt="{message}", defer=True):
ulog = job.Job.ulog = logging.getLogger("unsupported")
ulog.addHandler(handler)
ulog.propagate = False
# error file logging handler
if handler := output.setup_logging_handler(
- "errorfile", fmt="{message}", mode="a"):
+ "errorfile", fmt="{message}", mode="a", defer=True):
elog = input_manager.err = logging.getLogger("errorfile")
elog.addHandler(handler)
elog.propagate = False