mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-09-22 05:34:47 -04:00
skip psycopg.rows.scalar_row
This commit is contained in:
parent
de56dc3d13
commit
b07d8125d0
1 changed files with 3 additions and 3 deletions
|
@ -165,9 +165,9 @@ class VideoDataClient:
|
|||
),
|
||||
)
|
||||
try:
|
||||
results = self._execute_pg_query(
|
||||
pg_query, row_factory=psycopg.rows.scalar_row, fetchall=True
|
||||
)
|
||||
results = [row[0] for row in self._execute_pg_query(
|
||||
pg_query, fetchall=True
|
||||
)]
|
||||
except Exception as e:
|
||||
logger.warn("postgres query failed: %s", e)
|
||||
results = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue