index.py
changeset 65 b975a3d7606a
parent 58 004a32370ba5
--- a/index.py	Sun Dec 28 15:21:49 2008 -0500
+++ b/index.py	Tue Dec 30 22:32:10 2008 -0500
@@ -13,15 +13,17 @@
 # import cgitb; cgitb.enable()
 import cgi
 import my_db
+
+from local_config import CONFIG
 from os import environ
-from actions import actions;
+from actions import actions
 
 if (__name__ == "__main__"):
     form = cgi.FieldStorage()
     if form.has_key('debug'):
 	sys.stderr = sys.stdout
 	print "<pre>"
-    db = my_db.connect(environ["REMOTE_USER"])
+    db = my_db.connect(CONFIG, environ["REMOTE_USER"])
     prefs = db.get_preferences()
     if form.has_key('action'):
     	action = form['action'].value