Merge pull request #577 from benleb/patch-1

fix completely broken gps plugin
This commit is contained in:
evilsocket
2019-11-11 17:36:12 +01:00
committed by GitHub

View File

@ -27,7 +27,7 @@ class GPS(plugins.Plugin):
agent.run('set gps.device %s' % self.options['device']) agent.run('set gps.device %s' % self.options['device'])
agent.run('set gps.speed %d' % self.options['speed']) agent.run('set gps.speed %d' % self.options['speed'])
agent.run('gps on') agent.run('gps on')
running = True self.running = True
else: else:
logging.warning("no GPS detected") logging.warning("no GPS detected")