AnnounceZero return None on skipped announce due batching
This commit is contained in:
parent
7a3dbf626e
commit
0b38d73cc5
3 changed files with 10 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue