mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-14 05:26:28 +00:00
Tweak EditTrackersDialog async call.
This commit is contained in:
parent
6438cb0121
commit
7ed0821143
@ -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…
x
Reference in New Issue
Block a user