Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
minor fix
  • Loading branch information
maldevel committed Dec 20, 2015
1 parent 302f0d0 commit 08e9369
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions geolocation/IpGeoLocationLib.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,9 @@ def GetInfo(self, target, userAgent, targetsFile=None, rUserAgent=False, userAge


if self.TargetsFile:
self.__print('Retrieving targets Geolocation..')
return self.__retrieveGeolocations()

else:
self.__print('Retrieving target Geolocation..')
return self.__retrieveGeolocation(target)


Expand Down Expand Up @@ -135,6 +133,8 @@ def __retrieveGeolocation(self, target):
self.__pickRandomUserAgent()


self.__print('Retrieving {} Geolocation..'.format(target))

req = request.Request(self.RequestURL.format(target), data=None, headers={
'User-Agent':self.UserAgent
})
Expand Down

0 comments on commit 08e9369

Please sign in to comment.