X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=sima%2Flib%2Ftrack.py;h=a9003dabbe1ef2599d947cb9480d308a95460c7d;hb=e86c25ed9e97c5dd3e0672d5b17bed01d4a23fdf;hp=9ff9607ca938f2de0d86e25d5afd44cfa65fef5f;hpb=b2341c5c948f731c9247706db09646eb6c61eec5;p=mpd-sima.git diff --git a/sima/lib/track.py b/sima/lib/track.py index 9ff9607..a9003da 100644 --- a/sima/lib/track.py +++ b/sima/lib/track.py @@ -117,7 +117,8 @@ class Track: @property def length(self): - """Get a fancy duration as ``%H:%M:%S`` (use :attr:`duration` to get duration in second only)""" + """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 if temps.tm_hour: fmt = '%H:%M:%S'