Fix last.

This commit is contained in:
Andrew Resch 2008-03-30 22:08:48 +00:00
parent 7d9fee4946
commit 5b5ba1c4ee

View File

@ -154,7 +154,7 @@ class TorrentManager(component.Component):
for key in self.torrents.keys():
if not self.torrents[key].handle.is_paused() and \
not self.torrents[key].handle.is_seed():
if self.torrents[key].get_status("compact"):
if self.torrents[key].compact:
try:
self.torrents[key].pause()
except: