mirror of
https://git.deluge-torrent.org/deluge
synced 2025-09-08 11:05:36 +00:00
Tweak EditTrackersDialog async call.
This commit is contained in:
parent
6438cb0121
commit
7ed0821143
1 changed files with 3 additions and 4 deletions
|
@ -87,8 +87,9 @@ class EditTrackersDialog:
|
|||
|
||||
# Get the trackers for this torrent
|
||||
|
||||
client.get_torrent_status(self._on_get_torrent_status, self.torrent_id,\
|
||||
["trackers"])
|
||||
client.get_torrent_status(
|
||||
self._on_get_torrent_status, self.torrent_id, ["trackers"])
|
||||
client.force_call()
|
||||
|
||||
def _on_get_torrent_status(self, status):
|
||||
"""Display trackers dialog"""
|
||||
|
@ -97,8 +98,6 @@ class EditTrackersDialog:
|
|||
|
||||
self.dialog.show()
|
||||
|
||||
|
||||
|
||||
def add_tracker(self, tier, url):
|
||||
"""Adds a tracker to the list"""
|
||||
self.liststore.append([tier, url])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue