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

View file

@ -434,7 +434,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: if announce or not self.peers:
self.announce() self.announce()
# Full update, we can reset bad files # Full update, we can reset bad files