mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-27 03:36:16 +00:00
Delete .fastresume on resume of a non-seeding torrent.
This commit is contained in:
parent
f2065ae344
commit
54b512a7e0
@ -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…
x
Reference in New Issue
Block a user