From 0685148c107c0aee266c885bb7239f11be714195 Mon Sep 17 00:00:00 2001 From: Martin Konecny Date: Fri, 4 May 2012 18:05:02 -0400 Subject: [PATCH] CC-3749: Media Monitor should not load files pypo cannot read -incorrect variable name --- .../media-monitor/airtimefilemonitor/airtimeprocessevent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_apps/media-monitor/airtimefilemonitor/airtimeprocessevent.py b/python_apps/media-monitor/airtimefilemonitor/airtimeprocessevent.py index d5986e868..6d1ffbfa8 100644 --- a/python_apps/media-monitor/airtimefilemonitor/airtimeprocessevent.py +++ b/python_apps/media-monitor/airtimefilemonitor/airtimeprocessevent.py @@ -238,7 +238,7 @@ class AirtimeProcessEvent(ProcessEvent): self.handle_mount_change() if not event.dir: - if self.mmc.is_audio_file(event.name) and self.mmc.is_readable(event.path, False): + if self.mmc.is_audio_file(event.name) and self.mmc.is_readable(event.pathname, False): if event.cookie in self.temp_files: self.file_events.append({'filepath': event.pathname, 'mode': self.config.MODE_MODIFY}) del self.temp_files[event.cookie]