From b06a967f6ad35a1f55f29364f890ece2a73d8bb5 Mon Sep 17 00:00:00 2001 From: Rich Date: Wed, 28 Jul 2021 09:39:52 +0100 Subject: [PATCH] . --- app/routes.py | 4 ++-- config.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/routes.py b/app/routes.py index 55159f3..eb06c12 100644 --- a/app/routes.py +++ b/app/routes.py @@ -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: diff --git a/config.py b/config.py index 5f6405e..dacb234 100644 --- a/config.py +++ b/config.py @@ -2,7 +2,7 @@ import os basedir = os.path.abspath(os.path.dirname(__file__)) -debug = False +Debug = False RPI = True ClientInterface = "wlan1"