From 5642d0aae6003a92b1d72625ba35c5cc4398116f Mon Sep 17 00:00:00 2001 From: shortcutme Date: Mon, 8 Apr 2019 18:12:29 +0200 Subject: [PATCH] Also ignore db -wal and -shm temp db files when signing --- src/Content/ContentManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Content/ContentManager.py b/src/Content/ContentManager.py index c7f3635e..25ef0842 100644 --- a/src/Content/ContentManager.py +++ b/src/Content/ContentManager.py @@ -598,7 +598,7 @@ class ContentManager(object): elif not self.isValidRelativePath(file_relative_path): ignored = True self.log.error("- [ERROR] Invalid filename: %s" % file_relative_path) - elif dir_inner_path == "" and file_relative_path == self.site.storage.getDbFile(): + elif dir_inner_path == "" and self.site.storage.getDbFile() and file_relative_path.startswith(self.site.storage.getDbFile()): ignored = True elif optional_pattern and SafeRe.match(optional_pattern, file_relative_path): optional = True