diff --git a/src/Db/Db.py b/src/Db/Db.py index 026a36c3..df73bde7 100644 --- a/src/Db/Db.py +++ b/src/Db/Db.py @@ -225,6 +225,8 @@ class Db(object): def updateJson(self, file_path, file=None, cur=None): if not file_path.startswith(self.db_dir): return False # Not from the db dir: Skipping + relative_path = file_path[len(self.db_dir):] # File path realative to db file + # Check if filename matches any of mappings in schema matched_maps = [] for match, map_settings in self.schema["maps"].items():