| changeset 59 | 642098115855 |
| parent 37 | 6e5bd561ddd0 |
| child 64 | 7d4ddab659ad |
--- a/iro/anbieter/sipgate.py Thu Nov 04 21:58:59 2010 +0100 +++ b/iro/anbieter/sipgate.py Thu Nov 04 22:00:21 2010 +0100 @@ -53,7 +53,8 @@ def sendFAX(self,fax,recipients): """send the PDF file $fax to $recipients""" logger.debug('sipgate.sendFAX(%s,%s)'%(fax, str(recipients))) - pdf=open(fax.attachments[0],"rb") + logger.debug(fax.getAttachment(0)); + pdf=open(fax.getAttachment(0),"rb") args={ "TOS" : "fax", "Content" : base64.encodestring(pdf.read())