summaryrefslogtreecommitdiff
path: root/jimbrella
diff options
context:
space:
mode:
Diffstat (limited to 'jimbrella')
-rw-r--r--jimbrella/admin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/jimbrella/admin.py b/jimbrella/admin.py
index d5df4d4..1385d0a 100644
--- a/jimbrella/admin.py
+++ b/jimbrella/admin.py
@@ -50,7 +50,7 @@ def index():
)
except ValueError:
umb["lent_at"] = "Invalid date"
- umb["lent_time_ago"] = ""
+ umb["lent_time_ago"] = "Invalid date"
return render_template(
"admin/index.html",
@@ -85,7 +85,7 @@ def umbrellas():
)
except ValueError:
umb["lent_at"] = "Invalid date"
- umb["lent_time_ago"] = ""
+ umb["lent_time_ago"] = "Invalid date"
error = request.args.get("error")
template = (