From 6a71bb256e7ff2e970f7adea5e1193c87f246ee4 Mon Sep 17 00:00:00 2001 From: shortcutme Date: Mon, 13 Feb 2017 16:13:09 +0100 Subject: [PATCH] Always load json_row on deleting --- src/Db/Db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Db/Db.py b/src/Db/Db.py index afd5f1af..9e97e1e4 100644 --- a/src/Db/Db.py +++ b/src/Db/Db.py @@ -256,7 +256,7 @@ class Db(object): commit_after_done = False # Row for current json file if required - if filter(lambda dbmap: "to_keyvalue" in dbmap or "to_table" in dbmap, matched_maps): + if not data or filter(lambda dbmap: "to_keyvalue" in dbmap or "to_table" in dbmap, matched_maps): json_row = cur.getJsonRow(relative_path) # Check matched mappings in schema