fix flake8 warnings
This commit is contained in:
parent
089f633c06
commit
814894da7b
@ -12,6 +12,7 @@ from ipaddress import IPv4Address
|
||||
logger = logging.getLogger(__name__)
|
||||
app = Flask(__name__)
|
||||
|
||||
|
||||
class ApiServerSuperWrap(RPC):
|
||||
"""
|
||||
This class is for REST calls across api server
|
||||
|
@ -8,8 +8,6 @@ import time
|
||||
from requests import get
|
||||
from sys import argv
|
||||
|
||||
|
||||
|
||||
# TODO - use argparse to clean this up
|
||||
# TODO - use IP and Port from config.json not hardcode
|
||||
|
||||
@ -47,7 +45,3 @@ if len(argv) == 2 and argv[1] == "stop":
|
||||
time.sleep(2)
|
||||
d = get(get_url).text
|
||||
print(d)
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user