Announce on update if no peers
This commit is contained in:
parent
5104d0d250
commit
a87b6c7022
1 changed files with 1 additions and 1 deletions
|
@ -434,7 +434,7 @@ class Site(object):
|
|||
# Remove files that no longer in content.json
|
||||
self.checkBadFiles()
|
||||
|
||||
if announce:
|
||||
if announce or not self.peers:
|
||||
self.announce()
|
||||
|
||||
# Full update, we can reset bad files
|
||||
|
|
Loading…
Reference in a new issue