Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
achillean committed Aug 18, 2018
1 parent f3fb662 commit d768a09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shodan/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def _request(self, function, params, service='shodan', method='get'):
error = u'{}'.format(e)

raise APIError(error)
else if data.status_code == 403:
elif data.status_code == 403:
raise APIError('Access denied (403 Forbidden)')

# Parse the text into JSON
Expand Down

0 comments on commit d768a09

Please sign in to comment.