Message fix

This commit is contained in:
quentinhardy 2017-01-11 12:08:12 -05:00
parent 69fa51de1e
commit 3f80173e9b
1 changed files with 1 additions and 0 deletions

View File

@ -114,6 +114,7 @@ class gpstracker(PupyModule):
if args.get_position == True:
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!")
return
else:
self.success("GPS or Network Provider is enabled on the device. You should be able to get location!")
lat, lon = None, None