Skip to content

Commit

Permalink
Merge pull request #716 from TheHive-Project/revert-518-fix_threatcrowd
Browse files Browse the repository at this point in the history
Revert "[ThreatCrowd ] Fixing Unexpected Error: get() takes exactly 1 argument (2 given)"
  • Loading branch information
dadokkio authored Mar 15, 2020
2 parents 42c00e7 + 4febba5 commit 67ae15d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analyzers/Threatcrowd/threatcrowd_analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def run(self):
threatcrowd_data_type = self.data_type if self.data_type != 'mail' else 'email'
try:
response = requests.get("{}/{}/report/".format(self.URI, threatcrowd_data_type),
params = {threatcrowd_data_type: self.get_data()})
{threatcrowd_data_type: self.get_data()})
self.report(response.json())
except Exception as e:
self.unexpectedError(e)
Expand Down

0 comments on commit 67ae15d

Please sign in to comment.