From 0ee0aaff37b890393ae0de31554502109f005f32 Mon Sep 17 00:00:00 2001
From: Arttumiro <miro.tammelin@hotmail.fi>
Date: Tue, 19 Nov 2019 15:38:11 +0200
Subject: [PATCH] Update to using .paw-gps.json files

Remove old link due to it not being too good, update file extension to .paw-gps.json for better support on problems with webgpsmap.
---
 pwnagotchi/plugins/default/paw-gps.py | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/pwnagotchi/plugins/default/paw-gps.py b/pwnagotchi/plugins/default/paw-gps.py
index 0b477d7..e92805b 100644
--- a/pwnagotchi/plugins/default/paw-gps.py
+++ b/pwnagotchi/plugins/default/paw-gps.py
@@ -4,10 +4,7 @@ import pwnagotchi.plugins as plugins
 
 '''
 You need an bluetooth connection to your android phone which is running PAW server with the GPS "hack" from Systemik and edited by shaynemk
-NEW BETTER GUIDE HERE: https://community.pwnagotchi.ai/t/setting-up-paw-gps-on-android
-
-Old guide here, (not recommended if you plan on using it with the webgpsmap plugin)
-https://raw.githubusercontent.com/systemik/pwnagotchi-bt-tether/master/GPS-via-PAW
+GUIDE HERE: https://community.pwnagotchi.ai/t/setting-up-paw-gps-on-android
 '''
 
 
@@ -30,7 +27,7 @@ class PawGPS(plugins.Plugin):
             ip = self.options['ip']
 
         gps = requests.get('http://' + ip + '/gps.xhtml')
-        gps_filename = filename.replace('.pcap', '.gps.json')
+        gps_filename = filename.replace('.pcap', '.paw-gps.json')
 
         logging.info("saving GPS to %s (%s)" % (gps_filename, gps))
         with open(gps_filename, 'w+t') as f: