mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
Fix #1047 move completed does not work if saving to non default path
This commit is contained in:
parent
dbe90d2882
commit
208eef713a
1 changed files with 1 additions and 2 deletions
|
@ -784,8 +784,7 @@ class TorrentManager(component.Component):
|
||||||
|
|
||||||
if torrent.options["move_completed"] and total_download:
|
if torrent.options["move_completed"] and total_download:
|
||||||
move_path = torrent.options["move_completed_path"]
|
move_path = torrent.options["move_completed_path"]
|
||||||
if torrent.options["download_location"] != move_path and \
|
if torrent.options["download_location"] != move_path:
|
||||||
torrent.options["download_location"] == self.config["download_location"]:
|
|
||||||
torrent.move_storage(move_path)
|
torrent.move_storage(move_path)
|
||||||
|
|
||||||
torrent.is_finished = True
|
torrent.is_finished = True
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue