Starting DbManager

This commit is contained in:
zuk 2017-02-09 22:56:11 +01:00
parent 5ed1bfc2cc
commit 603c16b0a2

10
dbmanager.py Normal file
View file

@ -0,0 +1,10 @@
import psycopg2
class DbManager(object):
def __init__(self,db_uri):
self.db_uri=db_uri
self.conn=psycopg2.connect(db_uri)