mirror of https://github.com/n1nj4sec/pupy.git
Message fix
This commit is contained in:
parent
69fa51de1e
commit
3f80173e9b
|
@ -114,6 +114,7 @@ class gpstracker(PupyModule):
|
||||||
if args.get_position == True:
|
if args.get_position == True:
|
||||||
if gpsTracker.isNetworkProviderEnabled() == False and gpsTracker.isGPSenabled()==False:
|
if gpsTracker.isNetworkProviderEnabled() == False and gpsTracker.isGPSenabled()==False:
|
||||||
self.error("GPS or Network Provider is not enabled on the device. You should not be able to get location!")
|
self.error("GPS or Network Provider is not enabled on the device. You should not be able to get location!")
|
||||||
|
return
|
||||||
else:
|
else:
|
||||||
self.success("GPS or Network Provider is enabled on the device. You should be able to get location!")
|
self.success("GPS or Network Provider is enabled on the device. You should be able to get location!")
|
||||||
lat, lon = None, None
|
lat, lon = None, None
|
||||||
|
|
Loading…
Reference in New Issue