AnnounceZero return None on skipped announce due batching

This commit is contained in:
shortcutme 2018-08-26 22:52:21 +02:00
parent 7a3dbf626e
commit 0b38d73cc5
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE
3 changed files with 10 additions and 4 deletions

View file

@ -135,7 +135,7 @@ class SiteAnnouncerPlugin(object):
if res:
latency = res
tracker_storage.onTrackerSuccess(tracker, latency)
else:
elif res is False:
tracker_storage.onTrackerError(tracker)
return res