Skip to content

Commit

Permalink
🐛 Fixed a bug that would stop from creating result if offline
Browse files Browse the repository at this point in the history
  • Loading branch information
Tuhinshubhra committed Oct 21, 2019
1 parent a0af30a commit 67d7538
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/analyze.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,10 @@ def analyze(ext_name, ext_type='local'):
else:
country = 'unknown'
country_code = 'unknown'
else:
country = 'unknown'
country_code = 'unknown'

domainarr = {"name":domain, "ip":ip, "country_code":country_code, "country":country, "virustotal":domain_vt}
core.report['domains'].append(domainarr)

Expand Down

0 comments on commit 67d7538

Please sign in to comment.