mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-06 08:28:39 +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
|
# Open the .torrent file for reading because we need to send it's
|
||||||
# contents to the core.
|
# contents to the core.
|
||||||
try:
|
try:
|
||||||
f = open(torrent_file, "rb")
|
f = open(unicode(torrent_file), "rb")
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
log.warning("Unable to open %s: %s", torrent_file, e)
|
log.warning("Unable to open %s: %s", torrent_file, e)
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue