From 9cba12993638e595474139d4cc2cb6b3a41544b2 Mon Sep 17 00:00:00 2001 From: James Date: Thu, 29 Sep 2011 10:25:38 -0400 Subject: [PATCH] CC-2882: fix misspelling - fixed --- .../media-monitor/airtimefilemonitor/airtimeprocessevent.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python_apps/media-monitor/airtimefilemonitor/airtimeprocessevent.py b/python_apps/media-monitor/airtimefilemonitor/airtimeprocessevent.py index f3e1a908a..189eed7ec 100644 --- a/python_apps/media-monitor/airtimefilemonitor/airtimeprocessevent.py +++ b/python_apps/media-monitor/airtimefilemonitor/airtimeprocessevent.py @@ -45,7 +45,7 @@ class AirtimeProcessEvent(ProcessEvent): path = event.path if event.dir: if "-unknown-path" in path: - unkown_path = path + unknown_path = path pos = path.find("-unknown-path") path = path[0:pos]+"/" @@ -65,8 +65,8 @@ class AirtimeProcessEvent(ProcessEvent): # subdir being moved # in this case, it has to remove watch manualy and also have to manually delete all records # on cc_files table - wd = self.wm.get_wd(unkown_path) - self.logger.info("Removing watch on: %s wd %s", unkown_path, wd) + wd = self.wm.get_wd(unknown_path) + self.logger.info("Removing watch on: %s wd %s", unknown_path, wd) self.wm.rm_watch(wd, rec=True) self.file_events.append({'mode': self.config.MODE_DELETE_DIR, 'filepath': path})