Another fix for loading torrents on Windows

This commit is contained in:
Andrew Resch 2009-04-05 23:28:31 +00:00
parent f3f5aa661e
commit 52f8d7cacf

View file

@ -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