mirror of
https://github.com/HelloZeroNet/ZeroNet.git
synced 2023-12-14 04:33:03 +01:00
Remove archived files from bad files
This commit is contained in:
parent
96e45bb517
commit
ec513f0b60
|
@ -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