@ -324,7 +324,8 @@ def connect(user, password, db, host='localhost', port=5432):
con = sqlalchemy.create_engine(url, client_encoding='utf8')
# We then bind the connection to MetaData()
meta = sqlalchemy.MetaData(bind=con, reflect=True)
meta = sqlalchemy.MetaData(bind=con)
meta.reflect(bind=con)
return con, meta