aboutsummaryrefslogtreecommitdiffstats
path: root/server/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'server/config.py')
-rw-r--r--server/config.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/config.py b/server/config.py
index 755477b..ab9be52 100644
--- a/server/config.py
+++ b/server/config.py
@@ -1,16 +1,16 @@
import ConfigParser
-filename = None
-
class AliasConfigParser(ConfigParser.RawConfigParser):
- def read(self, filenames):
- ConfigParser.RawConfigParser.read(self, filenames)
+ def read(self, filename):
+ ConfigParser.RawConfigParser.read(self, filename)
self.name = self.get("component", "name")
self.root = self.get("component", "root")
self.host = self.get("component", "host")
self.secret = self.get("component", "secret")
self.port = self.getint("component", "port")
self.background = self.getboolean("component", "background")
+ self.logfile = self.get("component", "logfile")
+ self.pidfile = self.get("component", "pidfile")
config = AliasConfigParser()