File deletion based on type
This commit is contained in:
parent
16b40a731a
commit
46535cc7a8
1 changed files with 0 additions and 1 deletions
|
@ -139,7 +139,6 @@ class ContentManager(object):
|
|||
for file_relative_path in deleted:
|
||||
file_inner_path = content_inner_dir + file_relative_path
|
||||
try:
|
||||
self.site.storage.delete(file_inner_path)
|
||||
|
||||
# Check if the deleted file is optional
|
||||
if old_content.get("files_optional") and old_content["files_optional"].get(file_relative_path):
|
||||
|
|
Loading…
Reference in a new issue