iro/user.py
changeset 57 97ef6ca145e6
parent 30 5253631a8dd3
child 58 fb161058bcab
--- a/iro/user.py	Wed Nov 03 01:19:26 2010 +0100
+++ b/iro/user.py	Thu Nov 04 21:57:51 2010 +0100
@@ -76,7 +76,7 @@
         job.stop()
 
     
-    def startSMS(self,message,recipients,provider="default"):
+    def startSMS(self, message, recipients, provider="default"):
         '''
         starts the SMS with message to recipients
         '''
@@ -87,10 +87,11 @@
         return id
     
     
-    def startFAX(self,subject, fax,provider="default"):
+    def startFAX(self, subject, fax, recipients, provider="default"):
         '''
         starts the FAX  with the pdf file fax and the subject
         '''
+        logger.debug("startFAX(%s,%s,%s,%s)"%(subject, fax, recipients, provider))
         if not "fax" in self.features:
             raise NotSupportedFeature("fax")
         id = self.jobqueue.newFAX(subject, fax,recipients,provider)