-fixed "mported" bug in media-monitor-bootstrap

This commit is contained in:
martin 2011-07-13 15:16:27 -04:00
parent e6e046496c
commit 83f253dffe
1 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ class AirtimeMediaMonitorBootstrap():
all_files_set = set() all_files_set = set()
for file_path in new_files: for file_path in new_files:
if len(file_path.strip(" \n")) > 0: if len(file_path.strip(" \n")) > 0:
all_files_set.add(file_path[len(dir)+1:]) all_files_set.add(file_path[len(dir):])
if os.path.exists(self.pe.timestamp_file): if os.path.exists(self.pe.timestamp_file):
"""find files that have been modified since the last time media-monitor process started.""" """find files that have been modified since the last time media-monitor process started."""