From 59f82f204fff075b526e41ecd3ed8a8f58876bd0 Mon Sep 17 00:00:00 2001 From: Chase Sterling Date: Thu, 31 Jul 2014 23:20:38 -0400 Subject: [PATCH] Oops, accidentally renamed a variable --- deluge/core/torrentmanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/core/torrentmanager.py b/deluge/core/torrentmanager.py index 02778043d..9c3426471 100644 --- a/deluge/core/torrentmanager.py +++ b/deluge/core/torrentmanager.py @@ -933,7 +933,7 @@ class TorrentManager(component.Component): # emits alert_torrent_finished for them, but there seems like nothing # worth really to save in resume data, we just read it up in # self.load_state(). - if total_done: + if total_download: self.save_resume_data((torrent_id, )) def on_alert_torrent_paused(self, alert):