diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2013-09-14 01:00:16 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2013-09-14 01:00:16 +0200 |
commit | 4561ac0e95da990caf42bebaac7d3ca48deb53ce (patch) | |
tree | 2a1a30e46724aa8243720c827797b1c076b2f935 /app/views/__init__.py | |
parent | f475f0095f2b4af1acab8cfe3d6c866a71b73bf1 (diff) | |
download | kosten-4561ac0e95da990caf42bebaac7d3ca48deb53ce.tar.gz kosten-4561ac0e95da990caf42bebaac7d3ca48deb53ce.tar.bz2 kosten-4561ac0e95da990caf42bebaac7d3ca48deb53ce.zip |
Pie stuff
Diffstat (limited to '')
-rw-r--r-- | app/views/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/__init__.py b/app/views/__init__.py index 6405d3e..c4c362b 100644 --- a/app/views/__init__.py +++ b/app/views/__init__.py @@ -6,6 +6,8 @@ from .. import app, db # check for mobile visitors mobile_checks = ["J2ME", "Opera Mini"] +app.add_template_global(zip) + @app.before_request def handle_mobile(): ua = request.environ.get("HTTP_USER_AGENT", "") |