Fix #1582: Wrong path separator returned when moving storage in Windows
This commit is contained in:
parent
795f633bc4
commit
08ee3d8f69
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue