Skip to content

Commit c776eb4

Browse files
author
Cristian Dima
authored
added indent param to json.dumps for pretty printing
1 parent fa71670 commit c776eb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/helpers/output_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def output_json(self, filename):
6767
'Hash': host.hash,
6868
'Headers': headers}
6969
output['Result'] = result
70-
file.write_file(json.dumps(output))
70+
file.write_file(json.dumps(output, indent=2))
7171

7272

7373
def output_fuzzy(self):

0 commit comments

Comments
 (0)