From 365044f55afc191bcbc7ee16c445ef593a4b24c2 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Thu, 9 May 2013 19:47:45 +0000 Subject: Sanified some module imports. --- modules/quotes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/quotes.py') diff --git a/modules/quotes.py b/modules/quotes.py index bea34e3..b648d7b 100644 --- a/modules/quotes.py +++ b/modules/quotes.py @@ -5,7 +5,7 @@ info = { } import random, time, re -from pyPgSQL import PgSQL +import psycopg2 class Quotes: def __init__(self, db = None): @@ -16,7 +16,7 @@ class Quotes: return q def connect(self, db): - self.db = PgSQL.connect(database = 'fot') + self.db = psycopg2.connect(database = 'fot') self.updatecount() def updatecount(self): -- cgit v1.2.3