Ticket #1113: move-storage.patch

File move-storage.patch, 681 bytes (added by Ideal, 15 years ago)
  • deluge/core/torrentmanager.py

     
    805805
    806806            if torrent.options["move_completed"]:
    807807                move_path = torrent.options["move_completed_path"]
    808                 if torrent.options["download_location"] != move_path:
     808                if torrent.options["download_location"] != move_path and \
     809                   self.config["download_location"] == torrent.options["download_location"]:
    809810                    torrent.move_storage(move_path)
    810811
    811812            torrent.is_finished = True