Fix move_storage when using unicode path
This commit is contained in:
parent
7786f6ca08
commit
479e6c3484
@ -635,7 +635,7 @@ class Torrent:
|
|||||||
def move_storage(self, dest):
|
def move_storage(self, dest):
|
||||||
"""Move a torrent's storage location"""
|
"""Move a torrent's storage location"""
|
||||||
try:
|
try:
|
||||||
self.handle.move_storage(dest)
|
self.handle.move_storage(dest.encode("utf8"))
|
||||||
except:
|
except:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user