summaryrefslogtreecommitdiff
path: root/app/utils.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2013-11-01 14:19:07 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2013-11-01 14:19:07 +0100
commitb36ec721ab97b80b1d070426c6f3f09b62ac5c7e (patch)
treeebc4016760e062d2a27072934b32980e2debf366 /app/utils.py
parent6e6e436d5c76399b567a1e9e5ae16d77d0052f4f (diff)
downloadkosten-b36ec721ab97b80b1d070426c6f3f09b62ac5c7e.tar.gz
kosten-b36ec721ab97b80b1d070426c6f3f09b62ac5c7e.tar.bz2
kosten-b36ec721ab97b80b1d070426c6f3f09b62ac5c7e.zip
Some reorganization
Diffstat (limited to 'app/utils.py')
-rw-r--r--app/utils.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/utils.py b/app/utils.py
index 1d5f73c..2180282 100644
--- a/app/utils.py
+++ b/app/utils.py
@@ -4,6 +4,9 @@ from flask import redirect as _redirect
from .login import current_user
+import datetime
+today = datetime.date.today
+
def _gen_tpl(endpoint):
return endpoint.replace('.', '/') + '.jinja'