Unverified Commit c8b9a66c authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

fix replace statement

parent 141beae9
Pipeline #21821 passed with stages
in 1 minute and 40 seconds
......@@ -42,7 +42,6 @@ class Indexer:
Create SQL statement
"""
db_values = [record[f] for f in fields if f in record and record[f]]
db_values.extend([record[f] for f in fields if f != 'sig' and f in record and record[f]])
db_fields = ','.join([f for f in fields if f in record and record[f]])
db_value_placeholders = ', '.join(['%s' for f in fields if f in record and record[f]])
# noinspection SqlNoDataSourceInspection
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment