Skip to content

Commit 9c4006c

Browse files
authored
Merge pull request #60 from cristiandima/json-pretty-printing
Added indent param to json.dumps for pretty printing
2 parents fa71670 + e419f66 commit 9c4006c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/core/__version__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
# |V|H|o|s|t|S|c|a|n| Developed by @codingo_ & @__timk
33
# +-+-+-+-+-+-+-+-+-+ https://github.com/codingo/VHostScan
44

5-
__version__ = '1.5.2'
5+
__version__ = '1.5.3'
66

lib/helpers/output_helper.py

+1-1
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)