From 479e6c3484413529d0b80edd18548d667e66b4b4 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 e0edfa53f..f7107b2b3 100644 --- a/deluge/core/torrent.py +++ b/deluge/core/torrent.py @@ -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