fix pause/resume for queued torrents

This commit is contained in:
Martijn Voncken 2008-07-12 11:51:18 +00:00
parent 82e6ab32bb
commit 421c439c21
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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"