Author: tracyshaun
Date: 2005-03-22 15:13:15 -0700 (Tue, 22 Mar 2005)
New Revision: 2206
Modified:
WSGIKit/trunk/wsgikit/server.py
Log:
fixed the conf file getting called with 'load_file' instead of 'load' which defaults to a file name
Modified: WSGIKit/trunk/wsgikit/server.py
===================================================================
--- WSGIKit/trunk/wsgikit/server.py 2005-03-22 22:10:48 UTC (rev 2205)
+++ WSGIKit/trunk/wsgikit/server.py 2005-03-22 22:13:15 UTC (rev 2206)
@@ -53,7 +53,7 @@
if conf.get('config_file') and os.path.exists(conf.config_file):
if conf.verbose:
print "Loading configuration from %s" % conf.config_file
- conf.load_file(conf.config_file)
+ conf.load(conf.config_file)
server = conf.get('server')
if not server:
server_ops = servers.keys()
|