Show a Paused state when a Checking torrent is paused

This commit is contained in:
Andrew Resch 2009-04-19 19:50:39 +00:00
parent 2589baf0e2
commit 6c9dd4d5c9

View File

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