--- a/iro/anbieter/smstrade.py Sun Feb 07 18:04:53 2010 +0100
+++ b/iro/anbieter/smstrade.py Mon Feb 08 01:18:59 2010 +0100
@@ -80,10 +80,10 @@
self.script = "/" # full path to the script that will handle the request
self.method = "POST" # method that will be used. Currently only POST is supported
- def read_basic_config(self,filename):
+ def read_basic_config(self, filenames):
"""Read basic options from the config file"""
cp = ConfigParser.ConfigParser()
- cp.read([filename])
+ cp.read(filenames)
self.key=cp.get(self.section, 'key')
self.route=cp.get(self.section, 'route')
self.from_=cp.get(self.section, 'from')