1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-09-19 19:01:03 +00:00

Fixed scanner scanning untouched files

This commit is contained in:
spl0k 2014-06-12 14:25:58 +02:00
parent c29a2284b8
commit d1d3d4416e

View File

@ -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)