[Console] Fix torrent details status error
The torrent status num_peers and num_seeds was replaced for session
status keys by accident as part of replacing deprecated session keys
so revert those changes
Ref: 2bd095e5bf
This commit is contained in:
parent
055a84bb15
commit
5f8acabb81
|
@ -541,13 +541,13 @@ class TorrentDetail(BaseMode, PopupsHandler):
|
|||
# Seed/peer info
|
||||
s = '{{!info!}}{}:{{!green!}} {} {{!input!}}({})'.format(
|
||||
torrent_data_fields['seeds']['name'],
|
||||
status['peer.num_peers_connected'],
|
||||
status['num_seeds'],
|
||||
status['total_seeds'],
|
||||
)
|
||||
row = self.add_string(row, s)
|
||||
s = '{{!info!}}{}:{{!red!}} {} {{!input!}}({})'.format(
|
||||
torrent_data_fields['peers']['name'],
|
||||
status['peer.num_peers_connected'],
|
||||
status['num_peers'],
|
||||
status['total_peers'],
|
||||
)
|
||||
row = self.add_string(row, s)
|
||||
|
|
Loading…
Reference in New Issue