Skip to content

Commit

Permalink
netcraft - Fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
nusantara-self committed Oct 28, 2024
1 parent d42a5ed commit 6ae7bef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion responders/Netcraft/Netcraft.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def run(self):
if response.status_code == 200:
self.report({'message': 'Takedown request sent to Netcraft. Message: {}'.format(response.text)})
elif response.status_code == 401:
self.error({'message': 'Failed authentication. Check API-Key. Message: {}'.format(response.text)})
self.error('Failed authentication. Check API-Key. Message: {}'.format(response.text))
else:
self.error('Failed to submit takedown request. Error code: {}. Error message: {}'
.format(response.status_code, response.text))
Expand Down

0 comments on commit 6ae7bef

Please sign in to comment.