Fix a typo in FileServer

This commit is contained in:
Vadim Ushakov 2020-11-04 09:56:29 +07:00
parent 90d01e6004
commit 27ce79f044

View file

@ -492,7 +492,7 @@ class FileServer(ConnectionServer):
continue continue
if last_activity_time > now - threshold: if last_activity_time > now - threshold:
continue continue
if len(self.update_pool) == 0: if len(self.update_pool) != 0:
continue continue
log.info("No network activity for %.2fs. Running an update for a random site.", log.info("No network activity for %.2fs. Running an update for a random site.",