diff --git a/src/toastbin/database.py b/src/toastbin/database.py index f470c82..b9a4499 100644 --- a/src/toastbin/database.py +++ b/src/toastbin/database.py @@ -9,6 +9,6 @@ port = config['database']['port'] location = config['database']['location'] 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 = Session()