mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-09 09:58:39 +00:00
fix pause/resume for queued torrents
This commit is contained in:
parent
82e6ab32bb
commit
421c439c21
2 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ Comment: $render.meta.comment
|
||||||
<h2>Links</h2>
|
<h2>Links</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="http://deluge-torrent.org">Deluge</a></li>
|
<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>
|
WebUi forum Thread</a>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -146,7 +146,7 @@ def enhance_torrent_status(torrent_id,status):
|
||||||
status.id = torrent_id
|
status.id = torrent_id
|
||||||
|
|
||||||
#action for torrent_pause
|
#action for torrent_pause
|
||||||
if status.paused: #no user-paused in 0.6 !!!
|
if status.state == "Paused":
|
||||||
status.action = "start"
|
status.action = "start"
|
||||||
else:
|
else:
|
||||||
status.action = "stop"
|
status.action = "stop"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue