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"