Skip to content

Commit

Permalink
Merge pull request #2 from lfbear/master
Browse files Browse the repository at this point in the history
follow
  • Loading branch information
lfbear committed Apr 24, 2019
2 parents 85d1896 + c3f0c6e commit 89a1b03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ansible_api/callback.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def get_event(self):
def status_drawer(self, data):
self._drawer.append(data)

def status_handler(self, data, runner_config):
def status_handler(self, data, runner_config=None):
status = data.get('status', '') if isinstance(data, dict) else data
for item in self._drawer:
if item.get('status', None) == status:
Expand Down

0 comments on commit 89a1b03

Please sign in to comment.