Remove archived files from bad files
This commit is contained in:
parent
96e45bb517
commit
ec513f0b60
1 changed files with 2 additions and 0 deletions
|
@ -767,6 +767,8 @@ class ContentManager(object):
|
|||
return False
|
||||
if self.isArchived(inner_path, new_content["modified"]):
|
||||
self.log.warning("%s this file is archived!" % inner_path)
|
||||
if inner_path in self.site.bad_files:
|
||||
del self.site.bad_files[inner_path]
|
||||
return False
|
||||
# Check sign
|
||||
sign = new_content.get("sign")
|
||||
|
|
Loading…
Reference in a new issue