def voting_viewlet():
return dict()
works fine
But if I try to check request.vars, it crashes:
def voting_viewlet():
if request.vars.vote:
pass
return dict()
rises an error
On 1 июл, 20:46, LightOfMooN <[email protected]> wrote:
> Hello, just updated web2py to 1.97.1 and one of my sites crashed with
> the same problem:
> {{=LOAD('voting', 'voting_viewlet', ajax=False)[0][0]}}
> too bad
>
> On 1 июл, 01:10, pbreit <[email protected]> wrote:
>
>
>
>
>
>
>
> > Any ideas on this one? Has anyone else had problems with LOAD(ajax=False) in
> > trunk? I tried switching it to deepcopy and got same error. I also tried
> > putting it in a try/except but could not find anything. Could my request
> > have something funky in it?