From 7a2f04fb2575f750eec0f02dd9204dfcbbe24222 Mon Sep 17 00:00:00 2001 From: kaliko Date: Sun, 15 Dec 2013 16:40:45 +0100 Subject: [PATCH 1/1] Fixed Track's pos attribute type --- sima/lib/track.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.39.2