From 5214a7397ee7f4f6e0624bc5ed2b8cb92b66c94f Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 5 Mar 2020 01:09:40 -0800 Subject: fixes to ingest-request persist --- python/sandcrawler/persist.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'python/sandcrawler') diff --git a/python/sandcrawler/persist.py b/python/sandcrawler/persist.py index 5960756..f5de44a 100644 --- a/python/sandcrawler/persist.py +++ b/python/sandcrawler/persist.py @@ -201,9 +201,7 @@ class PersistIngestFileResultWorker(SandcrawlerWorker): class PersistIngestRequestWorker(PersistIngestFileResultWorker): def __init__(self, db_url, **kwargs): - super().__init__() - self.db = SandcrawlerPostgresClient(db_url) - self.cur = self.db.conn.cursor() + super().__init__(db_url=db_url) def process(self, record): """ -- cgit v1.2.3