diff --git a/ChangeLog b/ChangeLog index be796e5e5..6e177c115 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ === Deluge 1.2.0_rc4 (In Development) === ==== GtkUI ==== * Fix showing the 'Other' speed dialogs in Windows + * Fix adding torrents from the Queued Torrents dialog ==== Web ==== * Fix installing the deluge-web manpage diff --git a/deluge/ui/gtkui/queuedtorrents.py b/deluge/ui/gtkui/queuedtorrents.py index f70c5e2aa..77e0dac4c 100644 --- a/deluge/ui/gtkui/queuedtorrents.py +++ b/deluge/ui/gtkui/queuedtorrents.py @@ -33,7 +33,7 @@ # # - +import base64 import os.path import gtk, gtk.glade @@ -191,7 +191,7 @@ class QueuedTorrents(component.Component): else: client.core.add_torrent_file( os.path.split(torrent_path)[-1], - base64.encodestring(open(torrent_path).read()), + base64.encodestring(open(torrent_path, "rb").read()), None) self.liststore.foreach(add_torrent, None)