oops
This commit is contained in:
parent
0d9655265e
commit
886cf58ba6
1 changed files with 1 additions and 1 deletions
|
@ -9,6 +9,6 @@ port = config['database']['port']
|
||||||
location = config['database']['location']
|
location = config['database']['location']
|
||||||
database = config['database']['database']
|
database = config['database']['database']
|
||||||
|
|
||||||
engine = sqlalchemy.create_engine('postgresql://' + username + ':' + password + '@' + location ':' + port + '/' + database) # todo: finish this, give users options maybe
|
engine = sqlalchemy.create_engine('postgresql://' + username + ':' + password + '@' + location +':' + port + '/' + database) # todo: finish this, give users options maybe
|
||||||
Session = sqlalchemy.orm.sessionmaker(bind=engine)
|
Session = sqlalchemy.orm.sessionmaker(bind=engine)
|
||||||
session = Session()
|
session = Session()
|
||||||
|
|
Loading…
Add table
Reference in a new issue