Fix #1047 move completed does not work if saving to non default path

This commit is contained in:
Andrew Resch 2009-10-27 03:08:47 +00:00
parent b12b5a8403
commit 197027510e
2 changed files with 5 additions and 2 deletions

View file

@ -1,3 +1,7 @@
=== Deluge 1.2.0_rc3 (In Development) ===
==== Core ====
* Fix #1047 move completed does not work if saving to non default path
=== Deluge 1.2.0_rc2 (25 October 2009) ===
==== GtkUI ====
* Fix path errors when adding torrents externally in Windows

View file

@ -784,8 +784,7 @@ class TorrentManager(component.Component):
if torrent.options["move_completed"] and total_download:
move_path = torrent.options["move_completed_path"]
if torrent.options["download_location"] != move_path and \
torrent.options["download_location"] == self.config["download_location"]:
if torrent.options["download_location"] != move_path:
torrent.move_storage(move_path)
torrent.is_finished = True