Skip to content

Commit

Permalink
Added close() attribute.
Browse files Browse the repository at this point in the history
  • Loading branch information
hover2pi committed Mar 7, 2016
1 parent 9a15e30 commit abd0bc9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions astrodbkit/astrodb.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def __init__(self, dbpath):
con = sqlite3.connect(dbpath, isolation_level=None, detect_types=sqlite3.PARSE_DECLTYPES)
con.text_factory = str
self.conn = con
self.close = self.conn.close
self.list = con.cursor().execute

# Make dictionary
Expand Down

0 comments on commit abd0bc9

Please sign in to comment.