mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 03:24:54 +00:00
[Core] Switch move_storage flag to dont_replace
This commit is contained in:
parent
42ba9086d0
commit
3962c41a55
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue