Merge pull request #413 from emedvedev/imports-optimization
Optimize plugin imports
This commit is contained in:
commit
4b606d9a6b
@ -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()
|
||||||
|
@ -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
|
||||||
|
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user