From 14bfebdb98d8d61b4ca13cdc0ecc80ae0e69cf3c Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Sun, 14 Sep 2008 20:16:35 +0000 Subject: [PATCH] Fix move_storage when using unicode path --- deluge/core/torrent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/core/torrent.py b/deluge/core/torrent.py index 050abbce9..8c6fa7659 100644 --- a/deluge/core/torrent.py +++ b/deluge/core/torrent.py @@ -530,7 +530,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