mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-04 15:38:43 +00:00
Fix adding torrents from the Queued Torrents dialog
This commit is contained in:
parent
48e3df5ff3
commit
fc3ae8229f
2 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
||||||
=== Deluge 1.2.0_rc4 (In Development) ===
|
=== Deluge 1.2.0_rc4 (In Development) ===
|
||||||
==== GtkUI ====
|
==== GtkUI ====
|
||||||
* Fix showing the 'Other' speed dialogs in Windows
|
* Fix showing the 'Other' speed dialogs in Windows
|
||||||
|
* Fix adding torrents from the Queued Torrents dialog
|
||||||
|
|
||||||
==== Web ====
|
==== Web ====
|
||||||
* Fix installing the deluge-web manpage
|
* Fix installing the deluge-web manpage
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
|
import base64
|
||||||
import os.path
|
import os.path
|
||||||
|
|
||||||
import gtk, gtk.glade
|
import gtk, gtk.glade
|
||||||
|
@ -191,7 +191,7 @@ class QueuedTorrents(component.Component):
|
||||||
else:
|
else:
|
||||||
client.core.add_torrent_file(
|
client.core.add_torrent_file(
|
||||||
os.path.split(torrent_path)[-1],
|
os.path.split(torrent_path)[-1],
|
||||||
base64.encodestring(open(torrent_path).read()),
|
base64.encodestring(open(torrent_path, "rb").read()),
|
||||||
None)
|
None)
|
||||||
|
|
||||||
self.liststore.foreach(add_torrent, None)
|
self.liststore.foreach(add_torrent, None)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue