mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-05 16:08:40 +00:00
always have a torrents list, in case get_torrent_name gets called from a mode without get_torrent_name in new ui
This commit is contained in:
parent
5f8eda9204
commit
10816cb8f4
1 changed files with 1 additions and 1 deletions
|
@ -279,9 +279,9 @@ Please use commands from the command line, eg:\n
|
||||||
|
|
||||||
def start(self):
|
def start(self):
|
||||||
# Maintain a list of (torrent_id, name) for use in tab completion
|
# Maintain a list of (torrent_id, name) for use in tab completion
|
||||||
|
self.torrents = []
|
||||||
if not self.interactive:
|
if not self.interactive:
|
||||||
self.started_deferred = defer.Deferred()
|
self.started_deferred = defer.Deferred()
|
||||||
self.torrents = []
|
|
||||||
def on_session_state(result):
|
def on_session_state(result):
|
||||||
def on_torrents_status(torrents):
|
def on_torrents_status(torrents):
|
||||||
for torrent_id, status in torrents.items():
|
for torrent_id, status in torrents.items():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue