Rev2105, Fix database updating when path contains special characters
This commit is contained in:
parent
1f83b6691b
commit
97b3563e6b
2 changed files with 1 additions and 2 deletions
|
@ -225,7 +225,6 @@ 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 = re.sub("^%s" % self.db_dir, "", file_path) # 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():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue