Oops, accidentally renamed a variable

This commit is contained in:
Chase Sterling 2014-07-31 23:20:38 -04:00
parent 02cfc40e94
commit 59f82f204f
1 changed files with 1 additions and 1 deletions

View File

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