|
|
@ -10,7 +10,7 @@ username = creds.dblogin['username'] |
|
|
|
password = creds.dblogin['password'] |
|
|
|
port = creds.dblogin['port'] |
|
|
|
|
|
|
|
conn = psycopg2.connect(f"host={dbhost} dbname={database} user={username} password={password} port={port}") |
|
|
|
conn = psycopg2.connect(f"host={dbhost} dbname={database} user={username} password={password} port={port} sslmode='require'") |
|
|
|
|
|
|
|
cur = conn.cursor() |
|
|
|
|
|
|
|