diff --git a/python_apps/media-monitor/MediaMonitor.py b/python_apps/media-monitor/MediaMonitor.py index dce10f579..34a3c1c45 100644 --- a/python_apps/media-monitor/MediaMonitor.py +++ b/python_apps/media-monitor/MediaMonitor.py @@ -250,8 +250,8 @@ class MediaMonitor(ProcessEvent): def process_IN_CREATE(self, event): - if not event.dir: + if not event.dir : #file created is a tmp file which will be modified and then moved back to the original filename. if self.is_temp_file(event.name) : self.temp_files[event.pathname] = None