This commit is contained in:
Rich
2021-07-28 09:39:52 +01:00
parent edac1ad044
commit b06a967f6a
2 changed files with 3 additions and 3 deletions

View File

@@ -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: