clear completed

This commit is contained in:
Zach Tibbitts 2007-03-01 23:02:34 +00:00
parent b4f5e1d198
commit 3dcbd9444e

View File

@ -410,7 +410,7 @@ class Manager:
def clear_completed(self):
for unique_ID in self.unique_IDs:
torrent_state = self.get_core_torrent_state(unique_ID)
if torrent_state['progress'] == 100.0:
if torrent_state['progress'] == 1.0:
self.remove_torrent_ns(unique_ID)
self.sync()