summaryrefslogtreecommitdiff
path: root/jimbrella/web.py
diff options
context:
space:
mode:
Diffstat (limited to 'jimbrella/web.py')
-rw-r--r--jimbrella/web.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/jimbrella/web.py b/jimbrella/web.py
index 6446329..006c66c 100644
--- a/jimbrella/web.py
+++ b/jimbrella/web.py
@@ -1,6 +1,6 @@
from flask import Flask, request, render_template
from .database import Database
-from .utils import group_by_status
+from .utils import group_by_status, find_overdue
from .config import *
db = Database(DATABASE_PATH)
@@ -17,7 +17,7 @@ def index():
total=len(umbrellas),
available=len(statuses["available"]),
lent=len(statuses["lent"]),
- overdue="Not Yet Implemented",
+ overdue=len(find_overdue(umbrellas)),
)