Commit 7cb1bc71 authored by Kristian Tan's avatar Kristian Tan

Fixed imports

parent c9e15d87
...@@ -3,7 +3,8 @@ import RPi.GPIO as GPIO ...@@ -3,7 +3,8 @@ import RPi.GPIO as GPIO
from flask_sqlalchemy import SQLAlchemy from flask_sqlalchemy import SQLAlchemy
from sqlalchemy import create_engine from sqlalchemy import create_engine
import os import os
from daily_usage import DailyUsage # from daily_usage import
from . import DailyUsage
app = Flask(__name__) app = Flask(__name__)
os.environ['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///energyUsage' os.environ['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///energyUsage'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment