Only convert the move path to unicode if on windows

This commit is contained in:
Andrew Resch 2012-09-14 15:56:13 -07:00
commit fc14b00868

View file

@ -834,6 +834,7 @@ class Torrent(object):
def move_storage(self, dest):
"""Move a torrent's storage location"""
if deluge.common.is_windows():
# Attempt to convert utf8 path to unicode
# Note: Inconsistent encoding for 'dest', needs future investigation
try: