sort the trackers
This commit is contained in:
parent
fd4fbb5083
commit
463ccdfcdf
|
@ -172,6 +172,7 @@ def get_stats():
|
|||
trackers[torrent.tracker][i] += stats[i]
|
||||
else:
|
||||
trackers[torrent.tracker] = stats
|
||||
trackers = dict(sorted(trackers.items()))
|
||||
total = [0]*3
|
||||
for i in range(len(total)):
|
||||
total[i] = sum([v[i] for _, v in trackers.items()])
|
||||
|
|
Loading…
Reference in New Issue
Block a user