FIX exception reporting causing another exception

This commit is contained in:
boyska 2024-05-01 13:13:24 +02:00
parent 3e609581cf
commit dfc59e94f9

View file

@ -68,7 +68,7 @@ def percentwait(songs, context, conf, getdur=get_duration):
# must be an error! mutagen support is not always perfect
return (
True,
("mutagen could not calculate length of %s" % ",".songs["uris"]),
("mutagen could not calculate length of %s" % ",".join(songs["uris"])),
)
wait = eventduration * (percentwait / 100.0)
if remaining > wait: