Skip to content

Commit

Permalink
dbconnection
Browse files Browse the repository at this point in the history
  • Loading branch information
bart mosley committed Jan 16, 2011
1 parent 45fecc1 commit 892377f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions db/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ def lastrowid(self):
return rc[0] if rc else None

class DBConn(object):
def __init__(self):
def __init__(self, connector=None):
self.b_debug = False
self.b_commit = True
self.conn = None
self.conn = connector

autumn_db = DBConn()
autumn_db.conn = Database()

0 comments on commit 892377f

Please sign in to comment.