From 475fbeb6aa6b8360c2319c504742ce9659b85c04 Mon Sep 17 00:00:00 2001 From: Jaisen Mathai Date: Tue, 13 Dec 2016 22:26:36 -0800 Subject: [PATCH] Add result output for generate-db command --- elodie.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/elodie.py b/elodie.py index 14e677a..7e44b0f 100755 --- a/elodie.py +++ b/elodie.py @@ -135,8 +135,10 @@ def _generate_db(source): for current_file in all_files: if os.path.splitext(current_file)[1][1:].lower() not in extensions: log.info('Skipping invalid file %s' % current_file) + RESULT.append((current_file, None)) continue + RESULT.append((current_file, True)) db.add_hash(db.checksum(current_file), current_file) db.update_hash_db()