iro/offer/smstrade.py
branchdevel
changeset 186 b381eaa774ab
parent 183 07ee5543751b
child 213 3620bacf1152
--- a/iro/offer/smstrade.py	Thu Feb 23 16:59:49 2012 +0100
+++ b/iro/offer/smstrade.py	Sat Feb 25 16:12:07 2012 +0100
@@ -79,13 +79,12 @@
             "count":('boolean',False),
             "cost":('boolean',False),
            }
-    def __init__(self, name, config):       
+    def __init__(self, name):       
         self.url = "https://gateway.smstrade.de"
-        Provider.__init__(self,name,config,{"sms":["basic","economy","gold","direct"]})
+        Provider.__init__(self, name, {"sms":["basic","economy","gold","direct"]})
         self.options.update({
             "key":Option(lambda x,y:x,long="smstrade Gateway Key https://login.smstrade.de/index.php?gateway", must=True)
             })
-        self.loadConfig()
 
     def send(self, route, sms, recipient):
         """send SMS with $sms to $recipients"""