mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-13 04:54:23 +00:00
Show a Paused state when a Checking torrent is paused
This commit is contained in:
parent
2589baf0e2
commit
6c9dd4d5c9
@ -362,6 +362,9 @@ class Torrent:
|
|||||||
return
|
return
|
||||||
|
|
||||||
if ltstate == LTSTATE["Queued"] or ltstate == LTSTATE["Checking"]:
|
if ltstate == LTSTATE["Queued"] or ltstate == LTSTATE["Checking"]:
|
||||||
|
if self.handle.is_paused():
|
||||||
|
self.state = "Paused"
|
||||||
|
else:
|
||||||
self.state = "Checking"
|
self.state = "Checking"
|
||||||
return
|
return
|
||||||
elif ltstate == LTSTATE["Downloading"] or ltstate == LTSTATE["Downloading Metadata"]:
|
elif ltstate == LTSTATE["Downloading"] or ltstate == LTSTATE["Downloading Metadata"]:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user