Mercurial > hg > index.fcgi > www > www-1
comparison laterlinks2/laterlinks_app.py @ 82:d7d67887102f
move pinlib to a shared location and have pics use it
author | paulo |
---|---|
date | Wed, 29 Jun 2016 00:11:55 -0700 |
parents | f833a888c548 |
children | 259a484f691b |
comparison
equal
deleted
inserted
replaced
2:8f9142eb534a | 3:4628961d8dc3 |
---|---|
86 cookies = pinlib.parse_cookies(environ) | 86 cookies = pinlib.parse_cookies(environ) |
87 inp = parse_wsgi_input(environ) | 87 inp = parse_wsgi_input(environ) |
88 | 88 |
89 if is_post: | 89 if is_post: |
90 try: | 90 try: |
91 pinlib.check(cookies) | 91 pinlib.PinMan("llpin").check(cookies) |
92 except pinlib.PinFailError: | 92 except pinlib.PinFailError: |
93 raise PinFailError | 93 raise PinFailError |
94 if inp["submit"][0] == "Add": | 94 if inp["submit"][0] == "Add": |
95 lldb_add(inp) | 95 lldb_add(inp) |
96 elif inp["submit"][0] == "Delete": | 96 elif inp["submit"][0] == "Delete": |