Fix allocation modes. They were reversed.

This commit is contained in:
Andrew Resch 2007-12-28 13:20:34 +00:00
parent 5c38bfdbe7
commit e069542e3a

View File

@ -171,9 +171,9 @@ class TorrentManager(component.Component):
# Set the right storage_mode
if compact:
storage_mode = lt.storage_mode_t(1)
else:
storage_mode = lt.storage_mode_t(2)
else:
storage_mode = lt.storage_mode_t(1)
try:
handle = self.session.add_torrent(