Commit 0cce9521 authored by Pauline Pommeret's avatar Pauline Pommeret

Comments

parent ee4686c6
......@@ -23,8 +23,8 @@ class PGCursor(object):
- nothing
"""
self._conn = psycopg2.connect(database='itpp')
self._conn.set_session(autocommit = True)
self._cur = self._conn.cursor(cursor_factory = psycopg2.extras.DictCursor)
self._conn.set_session(autocommit=True)
self._cur = self._conn.cursor(cursor_factory=psycopg2.extras.DictCursor)
def store_sequence(self, seq):
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment