No need to announce if no peer as checkModifications will do
This commit is contained in:
parent
3f6b8def05
commit
cafb9ddcf4
1 changed files with 1 additions and 1 deletions
|
@ -431,7 +431,7 @@ class Site(object):
|
||||||
# Remove files that no longer in content.json
|
# Remove files that no longer in content.json
|
||||||
self.checkBadFiles()
|
self.checkBadFiles()
|
||||||
|
|
||||||
if announce or not self.peers:
|
if announce:
|
||||||
self.announce()
|
self.announce()
|
||||||
|
|
||||||
# Full update, we can reset bad files
|
# Full update, we can reset bad files
|
||||||
|
|
Loading…
Reference in a new issue