Always load json_row on deleting

This commit is contained in:
shortcutme 2017-02-13 16:13:09 +01:00
parent cfad85b30e
commit 6a71bb256e
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -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