Fix #1582: Wrong path separator returned when moving storage in Windows

This commit is contained in:
Calum Lind 2011-07-02 01:17:24 +01:00
parent 1a9ae62669
commit 52f89270e6

View file

@ -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):