I am trying to send a generated pdf file as an email and I get an AttributeEror.
AttributeEror
The pdf generation routine works fine when I try to show the file in the bro