From d1d3d4416e73c9d2004daa0a747e65353825de9b Mon Sep 17 00:00:00 2001 From: spl0k Date: Thu, 12 Jun 2014 14:25:58 +0200 Subject: [PATCH] Fixed scanner scanning untouched files --- supysonic/scanner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supysonic/scanner.py b/supysonic/scanner.py index ed925a3..cebbeb1 100644 --- a/supysonic/scanner.py +++ b/supysonic/scanner.py @@ -87,7 +87,7 @@ class Scanner: tr = filter(lambda t: t.path == path, self.__tracks) if tr: tr = tr[0] - if not os.path.getmtime(path) > tr.last_modification: + if not int(os.path.getmtime(path)) > tr.last_modification: return tag = self.__try_load_tag(path)