Ticket #907: binary-mode.patch
File binary-mode.patch, 589 bytes (added by , 16 years ago) |
---|
-
deluge/ui/gtkui/addtorrentdialog.py
a b 683 683 for i, f in enumerate(torrent_filenames): 684 684 client.core.add_torrent_file( 685 685 os.path.split(f)[-1], 686 base64.encodestring(open(f ).read()),686 base64.encodestring(open(f, 'rb').read()), 687 687 torrent_options[i]) 688 688 if torrent_magnets: 689 689 client.core.add_torrent_magnets(torrent_magnets, torrent_magnet_options)