Module: deluge Branch: 1.3-stable Commit: 52f89270e673fb47ba026e11b94a2b691385b09e
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 a13c9dc..7ee9106 100644 --- a/deluge/core/torrentmanager.py +++ b/deluge/core/torrentmanager.py @@ -977,7 +977,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.