mirror of
https://github.com/evilsocket/pwnagotchi.git
synced 2026-01-23 02:24:15 +00:00
removed unecesssary logging
This commit is contained in:
parent
4e7a28dc29
commit
a489266744
1 changed files with 0 additions and 4 deletions
|
|
@ -74,8 +74,6 @@ def _send_to_wigle(lines, api_key, donate=True, timeout=30):
|
|||
Uploads the file to wigle-net
|
||||
"""
|
||||
|
||||
logging.info(lines)
|
||||
|
||||
dummy = StringIO()
|
||||
|
||||
for line in lines:
|
||||
|
|
@ -87,7 +85,6 @@ def _send_to_wigle(lines, api_key, donate=True, timeout=30):
|
|||
'Accept': 'application/json'}
|
||||
data = {'donate': 'on' if donate else 'false'}
|
||||
payload = {'file': dummy, 'type': 'text/csv'}
|
||||
logging.info(dummy.getvalue())
|
||||
try:
|
||||
res = requests.post('https://api.wigle.net/api/v2/file/upload',
|
||||
data=data,
|
||||
|
|
@ -132,7 +129,6 @@ class Wigle(plugins.Plugin):
|
|||
Called in manual mode when there's internet connectivity
|
||||
"""
|
||||
if not self.ready or self.lock.locked():
|
||||
logging.info("WIGLE: error with api key")
|
||||
return
|
||||
|
||||
from scapy.all import Scapy_Exception
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue