Module: deluge Branch: master Commit: 08ee3d8f69971961658be800a232f8d87b48b955
Author: Calum Lind <calumlind+del...@gmail.com> Date: Sat Jul 2 01:17:24 2011 +0100 Fix #1582: Wrong path separator returned when moving storage in Windows --- deluge/core/torrentmanager.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/deluge/core/torrentmanager.py b/deluge/core/torrentmanager.py index 6e93aee..fb21e8c 100644 --- a/deluge/core/torrentmanager.py +++ b/deluge/core/torrentmanager.py @@ -1031,7 +1031,7 @@ class TorrentManager(component.Component): torrent = self.torrents[str(alert.handle.info_hash())] except: return - torrent.set_save_path(alert.handle.save_path()) + torrent.set_save_path(os.path.normpath(alert.handle.save_path())) torrent.set_move_completed(False) def on_alert_torrent_resumed(self, alert): -- You received this message because you are subscribed to the Google Groups "deluge-commit" group. To post to this group, send email to deluge-commit@googlegroups.com. To unsubscribe from this group, send email to deluge-commit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/deluge-commit?hl=en.