From 4d7d17fe553f7e4d5d9691d7cad802cc006f8f3e Mon Sep 17 00:00:00 2001 From: Martin Konecny Date: Fri, 4 May 2012 17:25:59 -0400 Subject: [PATCH] fix invalid file 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 419bbd685..14c5ec64d 100644 --- a/python_apps/media-monitor/airtimefilemonitor/airtimeprocessevent.py +++ b/python_apps/media-monitor/airtimefilemonitor/airtimeprocessevent.py @@ -239,7 +239,7 @@ class AirtimeProcessEvent(ProcessEvent): #if stuff dropped in stor via a UI move must change file permissions. self.mmc.is_readable(event.pathname, event.dir) if not event.dir: - if self.mmc.is_audio_file(event.name) and self.mmc.is_readable(full_filepath, False): + if self.mmc.is_audio_file(event.name) and self.mmc.is_readable(event.name, 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]