.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import subprocess
|
||||
|
||||
from config import RPI, debug, ClientInterface
|
||||
from config import RPI, Debug, ClientInterface
|
||||
from flask import flash, redirect, render_template, url_for
|
||||
from flask_login import current_user, login_required, login_user, logout_user
|
||||
|
||||
@@ -61,7 +61,7 @@ def scan_networks():
|
||||
def index():
|
||||
results = []
|
||||
scan = ["rpi:100: :WPA2", "Home:94:*:WPA2", "HOME2:48: :WPA2", "BT:23: :"]
|
||||
if not debug:
|
||||
if not Debug:
|
||||
scan = scan_networks()
|
||||
|
||||
for network in scan:
|
||||
|
||||
Reference in New Issue
Block a user