diff options
Diffstat (limited to 'modules/quotes.py')
-rw-r--r-- | modules/quotes.py | 4 |
1 files changed, 2 insertions, 2 deletions
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): |