mirror of
https://github.com/fergalmoran/picard.git
synced 2026-03-06 13:34:05 +00:00
If there's no ~length, use 0 as the fallback, not [""]
Otherwise, format_time raises an exception.
This commit is contained in:
@@ -84,7 +84,7 @@ class TagCounter(dict):
|
||||
return (ungettext("(different across %d item)", "(different across %d items)", count) % count, True)
|
||||
else:
|
||||
if tag == "~length":
|
||||
msg = format_time(self[tag])
|
||||
msg = format_time(self.get(tag, 0))
|
||||
else:
|
||||
msg = MULTI_VALUED_JOINER.join(self[tag])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user