diff -r 8ad6c097bc5b -r b381eaa774ab iro/offer/smstrade.py --- 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"""