mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 04:24:27 +00:00
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())]
|
torrent = self.torrents[str(alert.handle.info_hash())]
|
||||||
except:
|
except:
|
||||||
return
|
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)
|
torrent.set_move_completed(False)
|
||||||
|
|
||||||
def on_alert_torrent_resumed(self, alert):
|
def on_alert_torrent_resumed(self, alert):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user