Skip to content

Commit

Permalink
nameservers update
Browse files Browse the repository at this point in the history
readfile() json fix
  • Loading branch information
MMquant committed Jan 4, 2019
1 parent 58d6370 commit 732e0e5
Show file tree
Hide file tree
Showing 2 changed files with 18,168 additions and 18,794 deletions.
2 changes: 1 addition & 1 deletion DNSweeper.py
Original file line number Diff line number Diff line change
Expand Up @@ -1234,7 +1234,7 @@ def read_file(self, file_name):

with open(file_name) as f:

if '[' in line:
if '[' in line[:2]:
self.simple_log('# Reading input from JSON file {}'.format(file_name), 1)
return json.load(f)
else:
Expand Down
Loading

0 comments on commit 732e0e5

Please sign in to comment.