cc-3936: Fixed bug where wrong path was being used to identify a file's ownership.

This commit is contained in:
Rudi Grinberg 2012-08-27 12:28:44 -04:00
parent 87225d322e
commit c14af747b0
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ class Organizer(ReportHandler,Loggable):
new_path = mmp.organized_path(event.path, target_path,
event.metadata.extract())
mmp.magic_move(event.path, new_path)
owners.add_file_owner(event.path, mmp.owner_id(event.path) )
owners.add_file_owner(new_path, mmp.owner_id(event.path) )
self.logger.info('Organized: "%s" into "%s"' %
(event.path, new_path))
except BadSongFile as e: