From 08ee3d8f69971961658be800a232f8d87b48b955 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Sat, 2 Jul 2011 01:17:24 +0100 Subject: [PATCH] Fix #1582: Wrong path separator returned when moving storage in Windows --- deluge/core/torrentmanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/core/torrentmanager.py b/deluge/core/torrentmanager.py index 6e93aee41..fb21e8c45 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):