Commit 1c4087ab by Calen Pennington

fixup! Use playbook_timestamp supplied in __init__ rather than passing it to log_play

parent d14f5b6b
......@@ -112,7 +112,7 @@ class JsonFormatter(Formatter):
'playbook': playbook_name,
'started_at': playbook_timestamp.start.isoformat(),
'ended_at': playbook_timestamp.end.isoformat(),
'duration': playbook_timestamp,
'duration': playbook_timestamp.duration.total_seconds(),
}
json.dump(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment