Commit 3fbf5f40 authored by Kristian Tan's avatar Kristian Tan

IMport

parent 8cf43264
......@@ -4,7 +4,7 @@ from flask_sqlalchemy import SQLAlchemy
from sqlalchemy import asc, desc
import os
from datetime import datetime, date, timedelta
from services import daily_usage
from services import daily_usage_service
# from daily_usage import DailyUsage
app = Flask(__name__)
......@@ -100,7 +100,7 @@ db.create_all()
daily_total = get_todays_usage()
todays_cost = get_todays_cost()
print(get_todays_usage())
print(daily_usage.DailyUsageService.get_todays_usage())
print(daily_usage_service.DailyUsageService.get_todays_usage())
print(get_todays_cost())
# Create dictionary to store pin info
......
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