mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 03:54:50 +00:00
Delete .fastresume on resume of a non-seeding torrent.
This commit is contained in:
parent
f2065ae344
commit
54b512a7e0
1 changed files with 5 additions and 1 deletions
|
@ -352,9 +352,13 @@ class Torrent:
|
|||
|
||||
if self.handle.is_seed():
|
||||
self.state = "Seeding"
|
||||
# Only delete the .fastresume file if we're still downloading stuff
|
||||
self.delete_fastresume()
|
||||
else:
|
||||
self.state = "Downloading"
|
||||
|
||||
|
||||
return True
|
||||
|
||||
def move_storage(self, dest):
|
||||
"""Move a torrent's storage location"""
|
||||
try:
|
||||
|
|
Loading…
Add table
Reference in a new issue