diff --git a/deluge/ui/client.py b/deluge/ui/client.py index 4f7924c48..a80ae1fe5 100644 --- a/deluge/ui/client.py +++ b/deluge/ui/client.py @@ -259,7 +259,7 @@ class BaseClient(object): # Open the .torrent file for reading because we need to send it's # contents to the core. try: - f = open(torrent_file, "rb") + f = open(unicode(torrent_file), "rb") except Exception, e: log.warning("Unable to open %s: %s", torrent_file, e) continue