summaryrefslogtreecommitdiff
path: root/scripts/database/database.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/database/database.py')
-rwxr-xr-xscripts/database/database.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/database/database.py b/scripts/database/database.py
index 6d370d99..944c1bd6 100755
--- a/scripts/database/database.py
+++ b/scripts/database/database.py
@@ -77,12 +77,12 @@ def main(argv):
# Adds the new data to the database
old_size = len(database.index)
database = db.concatenate_database(database, imported_data)
- database = db.remove_duplicates(database)
new_size = len(database.index)
print("with " + str(new_size - old_size) + " new items") # Newline printed here
# Stores the modified database back to disk
if len(glob.glob(json_files)) >= 1:
+ database = db.remove_duplicates(database)
io.save_database(database, database_filename)
# Optional: update the database here. Default is disabled, code below is just an example