I would think you'd wan to check this after form accepts (there is no new_filename before an upload, after all....)
On Fri, Aug 14, 2009 at 12:14 AM, weheh <[email protected]> wrote: > > No. It chokes: > > File "C:/web2py/applications/FlexTrak/controllers/import.py", line 9, > in raw > return dict(form=form,filename=form.vars.filename.new_filename) > AttributeError: 'NoneType' object has no attribute 'new_filename' > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

