Merge pull request #413 from emedvedev/imports-optimization

Optimize plugin imports
This commit is contained in:
evilsocket 2019-10-26 17:54:47 +02:00 committed by GitHub
commit 4b606d9a6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 8 deletions

View File

@ -12,7 +12,6 @@ Aircrack-ng needed, to install:
import logging import logging
import subprocess import subprocess
import string import string
import re
import os import os
OPTIONS = dict() OPTIONS = dict()

View File

@ -11,14 +11,10 @@ import time
import glob import glob
import pwnagotchi.grid as grid import pwnagotchi.grid as grid
import pwnagotchi.utils as utils from pwnagotchi.utils import StatusFile, WifiInfo, extract_from_pcap
from pwnagotchi.ui.components import LabeledValue
from pwnagotchi.ui.view import BLACK
import pwnagotchi.ui.fonts as fonts
from pwnagotchi.utils import WifiInfo, extract_from_pcap
OPTIONS = dict() OPTIONS = dict()
REPORT = utils.StatusFile('/root/.api-report.json', data_format='json') REPORT = StatusFile('/root/.api-report.json', data_format='json')
UNREAD_MESSAGES = 0 UNREAD_MESSAGES = 0
TOTAL_MESSAGES = 0 TOTAL_MESSAGES = 0

View File

@ -10,7 +10,6 @@ https://raw.githubusercontent.com/systemik/pwnagotchi-bt-tether/master/GPS-via-P
''' '''
import logging import logging
import json
import requests import requests
OPTIONS = dict() OPTIONS = dict()