From 4561ac0e95da990caf42bebaac7d3ca48deb53ce Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Sat, 14 Sep 2013 01:00:16 +0200 Subject: Pie stuff --- app/views/__init__.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/views/__init__.py') 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", "") -- cgit v1.2.3-70-g09d2