fix pause/resume for queued torrents
This commit is contained in:
parent
82e6ab32bb
commit
421c439c21
|
@ -13,7 +13,7 @@ Comment: $render.meta.comment
|
|||
<h2>Links</h2>
|
||||
<ul>
|
||||
<li><a href="http://deluge-torrent.org">Deluge</a></li>
|
||||
<li><a href="http://forum.deluge-torrent.org/viewtopic.php?f=9&t=425">
|
||||
<li><a href="http://forum.deluge-torrent.org/viewtopic.php?f=8&t=4075">
|
||||
WebUi forum Thread</a>
|
||||
|
||||
</li>
|
||||
|
|
|
@ -146,7 +146,7 @@ def enhance_torrent_status(torrent_id,status):
|
|||
status.id = torrent_id
|
||||
|
||||
#action for torrent_pause
|
||||
if status.paused: #no user-paused in 0.6 !!!
|
||||
if status.state == "Paused":
|
||||
status.action = "start"
|
||||
else:
|
||||
status.action = "stop"
|
||||
|
|
Loading…
Reference in New Issue