]> kaliko git repositories - mpd-sima.git/blobdiff - sima/lib/track.py
Clean some linter warnings and errors
[mpd-sima.git] / sima / lib / track.py
index a1a452af07fd8f1b955a63ca3e10f9d30e5f5bc8..f25d86d94496ca9e1d297a5ed1eb325c926f030e 100644 (file)
@@ -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: