Skip to content

Commit

Permalink
Merge pull request #60 from cristiandima/json-pretty-printing
Browse files Browse the repository at this point in the history
Added indent param to json.dumps for pretty printing
  • Loading branch information
codingo authored Oct 8, 2017
2 parents fa71670 + e419f66 commit 9c4006c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/core/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# |V|H|o|s|t|S|c|a|n| Developed by @codingo_ & @__timk
# +-+-+-+-+-+-+-+-+-+ https://github.com/codingo/VHostScan

__version__ = '1.5.2'
__version__ = '1.5.3'

2 changes: 1 addition & 1 deletion lib/helpers/output_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def output_json(self, filename):
'Hash': host.hash,
'Headers': headers}
output['Result'] = result
file.write_file(json.dumps(output))
file.write_file(json.dumps(output, indent=2))


def output_fuzzy(self):
Expand Down

0 comments on commit 9c4006c

Please sign in to comment.