# HG changeset patch # User Sandro Knauß # Date 1265515977 -3600 # Node ID 49ffb1f6cdbf7928084335b1c84560f3dde4fed0 # Parent cf54cc3373f239a167a52fe8e89ca1d6e163b6d9# Parent f6eb3f425b0c59d0fd7e1d23b191831118a1788b merging fax diff -r cf54cc3373f2 -r 49ffb1f6cdbf iro/user.py --- a/iro/user.py Sun Feb 07 05:12:31 2010 +0100 +++ b/iro/user.py Sun Feb 07 05:12:57 2010 +0100 @@ -87,11 +87,15 @@ return id - def startFAX(self,provider="default"): + def startFAX(self,subject, fax,provider="default"): + ''' + starts the FAX with the pdf file fax and the subject ''' - starts the FAX - not implemented - ''' - raise NotSupportedFeature("fax") + if not "fax" in self.features: + raise NotSupportedFeature("fax") + id = self.jobqueue.newFAX(subject, fax,recipients,provider) + self.jobs[id]=self.jobqueue[id] + return id