Artifact 6363f858c98c51e53516cc9aa6c0dad0d5ecfb3d:
- File applications/mobileblur/models/0_helpers.py — part of check-in [5e6e1e2c0a] at 2011-11-20 05:28:20 on branch feature/web2py_auth — Upgraded to web2py 1.99.2 (user: spiffy, size: 453) [annotate] [blame] [check-ins using] [more...]
newsblur = local_import("newsblur") threshold = 0 thresholds = ["nt", "ps", "ng"] # indices -1, 0, 1 for negative, neutral, and positive intelligence filters #import ipdb #ipdb.set_trace() if "nb_cookie" not in request.cookies.keys(): if [request.application, request.controller, request.function] != [request.application, "default", "login"]: redirect(URL("default", "login")) #else: # newsblur.cookies = request.cookies["nb_cookie"]