it's a dict not an object, dumbass

This commit is contained in:
Seth Vidal 2013-07-05 18:26:54 -04:00
parent 8455e65fbf
commit 3bfedc4029

View file

@ -131,7 +131,7 @@ class LogMech(object):
if category == 'OK' and data.get('changed', False):
category = 'CHANGED'
if self.play_info.check:
if self.play_info.get('check', False):
category = 'CHECK:' + category
fd = open(self.logpath_play + '/' + host + '.log', 'a')