cc-4105 removed the wrong stuff about normpaths. Rmoved some old code that I forgot to delete before.
This commit is contained in:
parent
ca1459f242
commit
ce5b3bba8e
1 changed files with 1 additions and 2 deletions
|
@ -39,10 +39,9 @@ class Bootstrapper(Loggable):
|
||||||
modded = deleted = 0
|
modded = deleted = 0
|
||||||
signal_by_path = dict( (pc.signal, pc.path) for pc in self.watch_channels )
|
signal_by_path = dict( (pc.signal, pc.path) for pc in self.watch_channels )
|
||||||
for pc in self.watch_channels:
|
for pc in self.watch_channels:
|
||||||
# TODO : fixed the inconsistencies regarding normpath
|
|
||||||
songs[ pc.path ] = set()
|
songs[ pc.path ] = set()
|
||||||
for f in mmp.walk_supported(pc.path, clean_empties=False):
|
for f in mmp.walk_supported(pc.path, clean_empties=False):
|
||||||
songs[ pc.path ].add(os.path.normpath(f))
|
songs[ pc.path ].add(f)
|
||||||
# We decide whether to update a file's metadata by checking
|
# We decide whether to update a file's metadata by checking
|
||||||
# its system modification date. If it's above the value
|
# its system modification date. If it's above the value
|
||||||
# self.last_run which is passed to us that means media monitor
|
# self.last_run which is passed to us that means media monitor
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue