diff --git a/geolocation/IpGeoLocationLib.py b/geolocation/IpGeoLocationLib.py index 6e7efdd..3d2f978 100644 --- a/geolocation/IpGeoLocationLib.py +++ b/geolocation/IpGeoLocationLib.py @@ -61,17 +61,7 @@ def GetInfo(self, target, userAgent, targetList=None, randomUserAgent=False, uAg if targetList is not None: return self.__retrieveGeolocations(targetList) else: - #if target is None: return self.__retrieveGeolocation(target)#my ip - #else: - # if self.__isValidIPAddress(target): - # return self.__retrieveGeolocation(target) - # else: - # ip = self.__hostnameToIP(target)#domain? - # if ip: - # return self.__retrieveGeolocation(ip) - # print('Please provide a valid Domain or IP address.') - return False