Skip to content
Snippets Groups Projects
Commit 6c08b477 authored by Simon Künzel's avatar Simon Künzel
Browse files

Remove old code in database

parent 9ec0bf3a
Branches
No related tags found
No related merge requests found
...@@ -55,9 +55,6 @@ class Database: ...@@ -55,9 +55,6 @@ class Database:
assert isinstance(user, str) assert isinstance(user, str)
assert isinstance(password, str) assert isinstance(password, str)
if dict_get_check_type(engine_config, "user_password_from_env", bool, False):
user = os.environ[user]
password = os.environ[password]
self._engine = create_engine(URL.create( self._engine = create_engine(URL.create(
"postgresql+psycopg", "postgresql+psycopg",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment