Delete .fastresume on resume of a non-seeding torrent.

This commit is contained in:
Andrew Resch 2008-03-08 04:47:43 +00:00
parent f2065ae344
commit 54b512a7e0

View File

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