Skip to content

Commit

Permalink
Optimize plugin imports
Browse files Browse the repository at this point in the history
Signed-off-by: Edward Medvedev <edward.medvedev@gmail.com>
  • Loading branch information
emedvedev committed Oct 26, 2019
1 parent 0a33f9c commit ea51ab7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
1 change: 0 additions & 1 deletion pwnagotchi/plugins/default/AircrackOnly.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import logging
import subprocess
import string
import re
import os

OPTIONS = dict()
Expand Down
8 changes: 2 additions & 6 deletions pwnagotchi/plugins/default/grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,10 @@
import glob

import pwnagotchi.grid as grid
import pwnagotchi.utils as utils
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
from pwnagotchi.utils import StatusFile, WifiInfo, extract_from_pcap

OPTIONS = dict()
REPORT = utils.StatusFile('/root/.api-report.json', data_format='json')
REPORT = StatusFile('/root/.api-report.json', data_format='json')

UNREAD_MESSAGES = 0
TOTAL_MESSAGES = 0
Expand Down
1 change: 0 additions & 1 deletion pwnagotchi/plugins/default/paw-gps.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
'''

import logging
import json
import requests

OPTIONS = dict()
Expand Down

0 comments on commit ea51ab7

Please sign in to comment.