summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCalum Lind <calumlind+deluge@gmail.com>2017-02-20 18:34:32 +0000
committerCalum Lind <calumlind+deluge@gmail.com>2017-02-20 18:47:25 +0000
commit3962c41a55792efb46b378b9968b79d428e27bd8 (patch)
treeed0a79c62fb7447104f305ebc5102528cbe5aa4d
parent42ba9086d0d821192df14605e2637d4f54dfcdf9 (diff)
downloaddeluge-3962c41a55792efb46b378b9968b79d428e27bd8.tar.gz
deluge-3962c41a55792efb46b378b9968b79d428e27bd8.tar.bz2
deluge-3962c41a55792efb46b378b9968b79d428e27bd8.zip
[Core] Switch move_storage flag to dont_replace
-rw-r--r--deluge/core/torrent.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/deluge/core/torrent.py b/deluge/core/torrent.py
index df1ef3978..15d3bdea7 100644
--- a/deluge/core/torrent.py
+++ b/deluge/core/torrent.py
@@ -929,7 +929,7 @@ class Torrent(object):
kwargs = {}
if deluge.common.VersionSplit(lt.version) >= deluge.common.VersionSplit("1.0.0.0"):
- kwargs['flags'] = 1 # fail_if_exist
+ kwargs['flags'] = 2 # dont_replace
dest_bytes = dest.encode('utf-8')
try:
# libtorrent needs unicode object if wstrings are enabled, utf8 bytestring otherwise