X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=sima%2Flib%2Ftrack.py;h=f25d86d94496ca9e1d297a5ed1eb325c926f030e;hb=37dd60538984a3917354b794a5c96b0a025f8e95;hp=a1a452af07fd8f1b955a63ca3e10f9d30e5f5bc8;hpb=4588df9c898a607a53072957a1ed829601dd0958;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: