Reset bad_files on full update

This commit is contained in:
shortcutme 2017-01-29 19:03:22 +01:00
parent db7dad6731
commit 66e2bfd76b
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -370,6 +370,10 @@ class Site(object):
if announce: if announce:
self.announce() self.announce()
# Full update, we can reset bad files
if check_files and since == 0:
self.bad_files = {}
queried = self.checkModifications(since) queried = self.checkModifications(since)
if check_files: if check_files: