Author: andar
Revision: 5011
Log:
Another fix for loading torrents on Windows
Diff:
Modified: branches/1.1.0_RC/deluge/ui/client.py
===================================================================
--- branches/1.1.0_RC/deluge/ui/client.py 2009-04-05 23:10:41 UTC (rev
5010)
+++ branches/1.1.0_RC/deluge/ui/client.py 2009-04-05 23:28:31 UTC (rev
5011)
@@ -259,7 +259,7 @@
# 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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---