CC-2571 : Media Monitor Bootstrap

modifying files fix in bootstrap, fix functions to have parameters the same.
This commit is contained in:
Naomi Aro 2011-07-20 16:15:58 +02:00
parent c5c06eddc2
commit 216a166437
2 changed files with 6 additions and 6 deletions

View file

@ -125,11 +125,11 @@ class AirtimeMediaMonitorBootstrap():
for file_path in new_files_set:
file_path = "%s%s" % (dir, file_path)
if os.path.exists(file_path):
organized_filepath = self.pe.handle_created_file(False, os.path.basename(file_path), file_path)
organized_filepath = self.pe.handle_created_file(False, file_path, os.path.basename(file_path))
if organized_filepath is not None:
self.pe.handle_created_file(False, os.path.basename(organized_filepath), organized_filepath)
self.pe.handle_created_file(False, organized_filepath, os.path.basename(organized_filepath))
for file_path in modified_files_set:
file_path = "%s%s" % (dir, file_path)
if os.path.exists(file_path):
self.pe.handle_modified_file(False, os.path.basename(file_path), file_path)
self.pe.handle_modified_file(False, file_path, os.path.basename(file_path))