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