No need to announce if no peer as checkModifications will do

This commit is contained in:
shortcutme 2018-04-29 02:45:10 +02:00
parent 3f6b8def05
commit cafb9ddcf4
No known key found for this signature in database
GPG Key ID: 5B63BAE6CB9613AE
1 changed files with 1 additions and 1 deletions

View File

@ -431,7 +431,7 @@ class Site(object):
# Remove files that no longer in content.json
self.checkBadFiles()
if announce or not self.peers:
if announce:
self.announce()
# Full update, we can reset bad files