]> git.etc.gen.nz Git - whoisi.git/commitdiff
Get the Postgres library right.
authorAndrew Ruthven <andrew@etc.gen.nz>
Mon, 22 Jun 2009 20:49:59 +0000 (08:49 +1200)
committerAndrew Ruthven <andrew@cerberus.etc.gen.nz>
Mon, 22 Jun 2009 20:49:59 +0000 (08:49 +1200)
controller-service

index ec7159af82f4fb3dde1dbfadf34a91df27562431..7e0bf505ea08a6a317cedccd74ba5a94c8a24fb9 100755 (executable)
@@ -37,7 +37,7 @@ import services.config as config
 
 class Controller(pb.Root):
     def service_setup(self):
-        self.connection_type = "psycopg2"
+        self.connection_type = "pyscopg2"
         self.connection_dict = dict(cp_reconnect=True,
                                     host=config.get("db", "host"),
                                     user=config.get("db", "user"),