From 3f80173e9b9b0a7f2138ac1db9877e229ba7026a Mon Sep 17 00:00:00 2001 From: quentinhardy Date: Wed, 11 Jan 2017 12:08:12 -0500 Subject: [PATCH] Message fix --- pupy/modules/gpstracker.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pupy/modules/gpstracker.py b/pupy/modules/gpstracker.py index 6df440da..a73fe3c1 100644 --- a/pupy/modules/gpstracker.py +++ b/pupy/modules/gpstracker.py @@ -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