From e069542e3af1ebf89e27a31614cba2e5e412f8ea Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Fri, 28 Dec 2007 13:20:34 +0000 Subject: [PATCH] Fix allocation modes. They were reversed. --- deluge/core/torrentmanager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deluge/core/torrentmanager.py b/deluge/core/torrentmanager.py index 26fe9aed7..211c30f40 100644 --- a/deluge/core/torrentmanager.py +++ b/deluge/core/torrentmanager.py @@ -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(