How can I check if there is file in the sent form?

if request.vars.image:
    redirect(URL('structure',args=['it', 'works']))

doesn't work

if request.vars.image.file rises an error, when no file sent

Reply via email to