mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-11 19:08:40 +00:00
Remove some debug prints.
This commit is contained in:
parent
5f2be57ba8
commit
4e5a20ba38
1 changed files with 1 additions and 2 deletions
|
@ -213,12 +213,11 @@ class PeersTab:
|
||||||
# We only want to do this if the torrent_id has changed
|
# We only want to do this if the torrent_id has changed
|
||||||
self.liststore.clear()
|
self.liststore.clear()
|
||||||
self.torrent_id = torrent_id
|
self.torrent_id = torrent_id
|
||||||
log.debug("torrent_id: %s", torrent_id)
|
|
||||||
client.get_torrent_status(self._on_get_torrent_status, torrent_id, ["peers"])
|
client.get_torrent_status(self._on_get_torrent_status, torrent_id, ["peers"])
|
||||||
|
|
||||||
def _on_get_torrent_status(self, status):
|
def _on_get_torrent_status(self, status):
|
||||||
self.liststore.clear()
|
self.liststore.clear()
|
||||||
log.debug("status: %s", status)
|
|
||||||
for peer in status["peers"]:
|
for peer in status["peers"]:
|
||||||
self.liststore.append([
|
self.liststore.append([
|
||||||
peer["country"],
|
peer["country"],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue