From 9671bd6d40e5238709da8da52eb3b7c6d2bdfdaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Mon, 17 Jun 2024 22:59:20 +0200 Subject: [PATCH] [actions] fix exception when 'msg' is not a string (#5683) --- gallery_dl/output.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gallery_dl/output.py b/gallery_dl/output.py index 35185452..bd5d9594 100644 --- a/gallery_dl/output.py +++ b/gallery_dl/output.py @@ -105,6 +105,7 @@ class LoggerAdapterActions(): self.error = functools.partial(self.log, logging.ERROR) def log(self, level, msg, *args, **kwargs): + msg = str(msg) if args: msg = msg % args