mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-30 05:06:50 +00:00
Fix allocation modes. They were reversed.
This commit is contained in:
parent
5c38bfdbe7
commit
e069542e3a
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user