it's a dict not an object, dumbass
This commit is contained in:
parent
8455e65fbf
commit
3bfedc4029
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue