That code listing is from dal.py. I didn't really want to poke too much at that as I haven't had time to examine it too deeply.
I should probably upgrade to latest web2py before trying anything else :) */scurries off to upgrade the server...* On Thursday, June 20, 2013 12:45:28 AM UTC+3, Niphlod wrote: > > it's a bug reproduceable only if you leave one empty field. > BTW, you're parsing it wrong.... given a single field filled with 1234, > you get [1,2,3,4] back. > > you should do > > vars = form.vars.employees > if vars: > if isinstance(vars, (list, tuple)): > for a in vars: > ids.append(a) > else: > ids.append(vars) > > Anyway, I'll submit an issue with the fix. > >> >> - >> >> >> >> >> >> >> >> -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.