From: kaliko Date: Sun, 15 Dec 2013 15:40:45 +0000 (+0100) Subject: Fixed Track's pos attribute type X-Git-Tag: mpd-sima/0.12.0pr2~5 X-Git-Url: https://git.kaliko.me/?a=commitdiff_plain;h=7a2f04fb2575f750eec0f02dd9204dfcbbe24222;p=mpd-sima.git Fixed Track's pos attribute type --- diff --git a/sima/lib/track.py b/sima/lib/track.py index c88de6c..93904c8 100644 --- a/sima/lib/track.py +++ b/sima/lib/track.py @@ -32,7 +32,7 @@ class Track(object): def __init__(self, file=None, time=0, pos=-1, **kwargs): self.title = self.artist = self.album = self.albumartist = '' - self.pos = pos + self.pos = int(pos) self._empty = False self._file = file if not kwargs: