From 171e5d37661db0abb679de577bfec781cb39dc7a Mon Sep 17 00:00:00 2001 From: shortcutme Date: Mon, 15 Oct 2018 13:15:11 +0200 Subject: [PATCH] Fix typo on optional file deletion --- 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 b3bded19..aa8d7f2e 100644 --- a/src/Content/ContentManager.py +++ b/src/Content/ContentManager.py @@ -145,7 +145,7 @@ class ContentManager(object): self.optionalDelete(file_inner_path) old_hash = old_content["files_optional"][file_relative_path].get("sha512") if self.hashfield.hasHash(old_hash): - old_hash_id = self.hashField.getHashid(old_hash) + old_hash_id = self.hashfield.getHashId(old_hash) self.optionalRemoved(file_inner_path, old_hash_id, old_content["files_optional"][file_relative_path]["size"]) else: self.site.storage.delete(file_inner_path)