diff options
| author | root <root@turin.home> | 2022-01-30 15:35:13 +0000 |
|---|---|---|
| committer | root <root@turin.home> | 2022-01-30 15:35:13 +0000 |
| commit | 3fd365edd82bf627744e397da30d2bb9e4f76881 (patch) | |
| tree | d62d756665afdb931016e0e1977a6e5be5661155 | |
| parent | 07ceed5c7022da6233797c70954cf874239c88fa (diff) | |
Minor error from previous commit
| -rw-r--r-- | main.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -4,13 +4,15 @@ import errors import sql import weather import time -import api from flask import Flask, render_template, redirect, url_for from threading import Thread app = Flask(__name__) +# Import API Script after Flask app exists +import api + # Paramaterised location of database file # Use of constant DBFILE = "data.db" |
