Skip to content

Commit

Permalink
[actions] fix exception when 'msg' is not a string (#5683)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikf committed Jun 18, 2024
1 parent 4727ad6 commit 9671bd6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gallery_dl/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ def __init__(self, logger, job):
self.error = functools.partial(self.log, logging.ERROR)

def log(self, level, msg, *args, **kwargs):
msg = str(msg)
if args:
msg = msg % args

Expand Down

0 comments on commit 9671bd6

Please sign in to comment.