diff options
Diffstat (limited to 'main.py')
| -rw-r--r-- | main.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -10,8 +10,6 @@ from threading import Thread app = Flask(__name__) -# Import API Script after Flask app exists -import api # Paramaterised location of database file # Use of constant @@ -34,6 +32,8 @@ if device.startswith("Raspberry Pi 4"): else: errors.device_error() +# Import API Script after Flask app and boiler classexists +import api def main_page(): # paramaterised location of template in 'templates' folder |
