From 313fd666342c3d4207decad7acf6ad68f3350c6c Mon Sep 17 00:00:00 2001
From: Ben Lebherz <benleb@users.noreply.github.com>
Date: Mon, 11 Nov 2019 14:12:38 +0100
Subject: [PATCH] fix completely broken gps plugin :D

---
 pwnagotchi/plugins/default/gps.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pwnagotchi/plugins/default/gps.py b/pwnagotchi/plugins/default/gps.py
index 0194559..3d7d38f 100644
--- a/pwnagotchi/plugins/default/gps.py
+++ b/pwnagotchi/plugins/default/gps.py
@@ -27,7 +27,7 @@ class GPS(plugins.Plugin):
             agent.run('set gps.device %s' % self.options['device'])
             agent.run('set gps.speed %d' % self.options['speed'])
             agent.run('gps on')
-            running = True
+            self.running = True
         else:
             logging.warning("no GPS detected")