X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=sima%2Flib%2Ftrack.py;h=f25d86d94496ca9e1d297a5ed1eb325c926f030e;hb=774e755d4a4fb985548cd3d17703c1f700687ff3;hp=a1a452af07fd8f1b955a63ca3e10f9d30e5f5bc8;hpb=c7bfe1ff39adb2eed8d946abbba59f8f9748ca9b;p=mpd-sima.git diff --git a/sima/lib/track.py b/sima/lib/track.py index a1a452a..f25d86d 100644 --- a/sima/lib/track.py +++ b/sima/lib/track.py @@ -118,7 +118,7 @@ class Track: @property def length(self): """Get a fancy duration as ``%H:%M:%S`` (use :attr:`duration` to get duration in second only)""" - temps = time.gmtime(self.duration) #TODO: returns a date not a duration + temps = time.gmtime(self.duration) # TODO: returns a date not a duration if temps.tm_hour: fmt = '%H:%M:%S' else: