From 1f660653ff08d0c1a94498efcb63e8ac613f1ef1 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Tue, 28 Feb 2012 01:24:15 +0000 Subject: [PATCH] Set is_finished to match is_seed after checking Fixes issue where re-downloading data would not change is_finished --- deluge/core/torrentmanager.py | 1 + 1 file changed, 1 insertion(+) diff --git a/deluge/core/torrentmanager.py b/deluge/core/torrentmanager.py index 985a1eb2c..f20591438 100644 --- a/deluge/core/torrentmanager.py +++ b/deluge/core/torrentmanager.py @@ -924,6 +924,7 @@ class TorrentManager(component.Component): if torrent.forcing_recheck_paused: torrent.handle.pause() + torrent.is_finished = torrent.handle.is_seed() # Set the torrent state torrent.update_state()