mirror of
https://github.com/spl0k/supysonic.git
synced 2024-12-22 17:06:17 +00:00
Fixed scanner scanning untouched files
This commit is contained in:
parent
c29a2284b8
commit
d1d3d4416e
@ -87,7 +87,7 @@ class Scanner:
|
|||||||
tr = filter(lambda t: t.path == path, self.__tracks)
|
tr = filter(lambda t: t.path == path, self.__tracks)
|
||||||
if tr:
|
if tr:
|
||||||
tr = tr[0]
|
tr = tr[0]
|
||||||
if not os.path.getmtime(path) > tr.last_modification:
|
if not int(os.path.getmtime(path)) > tr.last_modification:
|
||||||
return
|
return
|
||||||
|
|
||||||
tag = self.__try_load_tag(path)
|
tag = self.__try_load_tag(path)
|
||||||
|
Loading…
Reference in New Issue
Block a user