FIX exception reporting causing another exception
This commit is contained in:
parent
3e609581cf
commit
dfc59e94f9
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ def percentwait(songs, context, conf, getdur=get_duration):
|
||||||
# must be an error! mutagen support is not always perfect
|
# must be an error! mutagen support is not always perfect
|
||||||
return (
|
return (
|
||||||
True,
|
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)
|
wait = eventduration * (percentwait / 100.0)
|
||||||
if remaining > wait:
|
if remaining > wait:
|
||||||
|
|
Loading…
Reference in a new issue