From 7e1dbf80854796c15a0c1ea5181cbdfbc4457d3d Mon Sep 17 00:00:00 2001 From: martin Date: Tue, 28 Jun 2011 22:09:25 -0400 Subject: [PATCH] -fix exception when rabbitmq wasnt started before media-monitor --- python_apps/media-monitor/airtimefilemonitor/airtimenotifier.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_apps/media-monitor/airtimefilemonitor/airtimenotifier.py b/python_apps/media-monitor/airtimefilemonitor/airtimenotifier.py index b93b6f909..ee41c249e 100644 --- a/python_apps/media-monitor/airtimefilemonitor/airtimenotifier.py +++ b/python_apps/media-monitor/airtimefilemonitor/airtimenotifier.py @@ -28,7 +28,7 @@ class AirtimeNotifier(Notifier): self.watched_folders = [] while not self.init_rabbit_mq(): - logger.error("Error connecting to RabbitMQ Server. Trying again in few seconds") + self.logger.error("Error connecting to RabbitMQ Server. Trying again in few seconds") time.sleep(5) def init_rabbit_mq(self):