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 795f633bc4
commit 08ee3d8f69
1 changed files with 1 additions and 1 deletions

View File

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