Fix move_storage when using unicode path

This commit is contained in:
Andrew Resch 2008-09-14 20:16:35 +00:00
parent 7786f6ca08
commit 479e6c3484

View File

@ -635,7 +635,7 @@ class Torrent:
def move_storage(self, dest):
"""Move a torrent's storage location"""
try:
self.handle.move_storage(dest)
self.handle.move_storage(dest.encode("utf8"))
except:
return False