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

rename status flag

parent 5e27ef9c
Pipeline #20895 passed with stages
in 1 minute and 51 seconds
......@@ -132,7 +132,7 @@ class RecordProcessor:
ok, err_msg = self.indexer.insert_in_db(record['audio_snippet']['data'])
if ok and not RecordProcessor._parsing_errors(record):
self.indexer.commit()
self.reporter.send_message(key, 'IGNORED' if ignored else 'SUCCESS',
self.reporter.send_message(key, 'IGNORE' if ignored else 'SUCCESS',
('DIGITAL OBJECT: {} -- THUMBNAIL: {}' +
' -- AUDIO SNIPPET: {}').format(
dig_obj_msg, thumbnail_msg, audio_snip_msg
......
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