mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
Another fix for loading torrents on Windows
This commit is contained in:
parent
f3f5aa661e
commit
52f8d7cacf
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue