-fix exception when rabbitmq wasnt started before media-monitor

This commit is contained in:
martin 2011-06-28 22:09:25 -04:00
parent fcb7ca2858
commit 7e1dbf8085
1 changed files with 1 additions and 1 deletions

View File

@ -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):