Author: andar
Revision: 5876
Log:
Fix #1047 move completed does not work if saving to non default path
Diff:
Modified: branches/1.2_RC/ChangeLog
===================================================================
--- branches/1.2_RC/ChangeLog 2009-10-26 13:58:42 UTC (rev 5875)
+++ branches/1.2_RC/ChangeLog 2009-10-27 03:08:47 UTC (rev 5876)
@@ -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
Modified: branches/1.2_RC/deluge/core/torrentmanager.py
===================================================================
--- branches/1.2_RC/deluge/core/torrentmanager.py 2009-10-26 13:58:42 UTC
(rev 5875)
+++ branches/1.2_RC/deluge/core/torrentmanager.py 2009-10-27 03:08:47 UTC
(rev 5876)
@@ -784,8 +784,7 @@
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
Modified: trunk/deluge/core/torrentmanager.py
===================================================================
--- trunk/deluge/core/torrentmanager.py 2009-10-26 13:58:42 UTC (rev 5875)
+++ trunk/deluge/core/torrentmanager.py 2009-10-27 03:08:47 UTC (rev 5876)
@@ -784,8 +784,7 @@
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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---