Skip to content

Commit

Permalink
Merge pull request #2 from dookie2000ca/master
Browse files Browse the repository at this point in the history
Fixed error when receiving the API as an argument
  • Loading branch information
DanMcInerney committed Mar 17, 2014
2 parents f1f9d5b + 99bba5c commit 372e21e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shodan_pharmer.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def parse_args():

def shodan_search(search, apikey):
if apikey:
API_KEY = args.apikey
API_KEY = apikey
else:
API_KEY = 'ENTER YOUR API KEY HERE AND KEEP THE QUOTES'
api = WebAPI(API_KEY)
Expand Down

0 comments on commit 372e21e

Please sign in to comment.