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

make code compliant with flake8 rules

parent 6cef1e5b
Pipeline #19197 passed with stages
in 1 minute and 59 seconds
......@@ -55,10 +55,10 @@ class Indexer:
Insert record in DB
"""
entities_stmt, entities_values = Indexer._create_sql_stmt('entities', record,
['sig', 'uri', 'access', 'proto'])
['sig', 'uri', 'access', 'proto'])
metadata_stmt, metadata_values = Indexer._create_sql_stmt('metadata', record,
['sig', 'mimetype', 'height',
'width', 'duration', 'type'])
['sig', 'mimetype', 'height',
'width', 'duration', 'type'])
try:
self.mariadb_cursor.execute(entities_stmt, entities_values)
self.mariadb_cursor.execute(metadata_stmt, metadata_values)
......
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