mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 12:34:43 +00:00
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>
|
<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…
x
Reference in New Issue
Block a user