Still no joy. Doesn't work. Have you tried and been able to get this to work?
On Aug 14, 1:43 am, Yarko Tymciurak <yark...@gmail.com> wrote: > 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 <richard_gor...@verizon.net> 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'- Hide > > quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---