Site
Gitweb
Static
projects
/
eros.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ebdd42
)
Add empty connect string to allow Postgres to use env config
author
Jakob Cornell
<jakob+gpg@jcornell.net>
Sat, 9 Oct 2021 20:43:31 +0000
(15:43 -0500)
committer
Jakob Cornell
<jakob+gpg@jcornell.net>
Sat, 9 Oct 2021 20:43:31 +0000
(15:43 -0500)
python/scripts/ingest_ptp_json.py
patch
|
blob
|
history
diff --git
a/python/scripts/ingest_ptp_json.py
b/python/scripts/ingest_ptp_json.py
index a8be0bdb49b300c0500e8bd0c84c9986a79328bb..793f6141baf6754e405e19c9467989838bc699a1 100644
(file)
--- a/
python/scripts/ingest_ptp_json.py
+++ b/
python/scripts/ingest_ptp_json.py
@@
-50,7
+50,7
@@
def ingest(doc, db_cursor):
)
-with contextlib.closing(psycopg2.connect()) as conn, conn.cursor() as cursor:
+with contextlib.closing(psycopg2.connect(
""
)) as conn, conn.cursor() as cursor:
conn.autocommit = True
for p in paths: