From 130a9c1cd71ef54f2e06300705d6db9170462d4b Mon Sep 17 00:00:00 2001 From: tofrie Date: Sun, 8 Sep 2019 17:34:15 +0200 Subject: [PATCH] Fix exception when reindexing deleted files. --- rbb_tools/src/rbb_tools/commands/index.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rbb_tools/src/rbb_tools/commands/index.py b/rbb_tools/src/rbb_tools/commands/index.py index ccdbb2e..fb37002 100644 --- a/rbb_tools/src/rbb_tools/commands/index.py +++ b/rbb_tools/src/rbb_tools/commands/index.py @@ -38,6 +38,7 @@ def register_bag_file(api, store_name, file): bag.topics=[] bag.products=[] bag.extraction_failure = False + bag.in_trash = False api.put_bag_meta(store_name, bag.name, bag)