From f6ff07bb7217156f47d50ad3d4de5918a7dede54 Mon Sep 17 00:00:00 2001 From: William McBrine Date: Fri, 24 May 2013 04:18:27 -0400 Subject: [PATCH] Forget leading zero on duration. --- plugins/togo/togo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/togo/togo.py b/plugins/togo/togo.py index d58c2a3..c3537b1 100644 --- a/plugins/togo/togo.py +++ b/plugins/togo/togo.py @@ -154,7 +154,7 @@ class ToGo(Plugin): entry['SourceSize'] = metadata.human_size(rawsize) dur = int(entry['Duration']) / 1000 - entry['Duration'] = ( '%02d:%02d:%02d' % + entry['Duration'] = ( '%d:%02d:%02d' % (dur / 3600, (dur % 3600) / 60, dur % 60) ) entry['CaptureDate'] = time.strftime('%b %d, %Y', -- 2.11.4.GIT