Announce on update if no peers

This commit is contained in:
shortcutme 2018-04-28 21:47:11 +02:00
parent 5104d0d250
commit a87b6c7022
No known key found for this signature in database
GPG Key ID: 5B63BAE6CB9613AE
1 changed files with 1 additions and 1 deletions

View File

@ -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