From b36ec721ab97b80b1d070426c6f3f09b62ac5c7e Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Fri, 1 Nov 2013 14:19:07 +0100 Subject: Some reorganization --- app/utils.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/utils.py') 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' -- cgit v1.2.3-54-g00ecf