changeset 2d3ae551c740 in /home/hg/repos/gajim
author: Yann Leboulanger asterix@lagaule.org branches: details:http://hg.gajim.org/gajim?cmd=changeset;node=2d3ae551c740 description: correctly compute hash when doing jingle FT
diffstat:
src/gui_interface.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 4807f93f1f26 -r 2d3ae551c740 src/gui_interface.py --- a/src/gui_interface.py Sat May 31 11:46:47 2014 +0400 +++ b/src/gui_interface.py Sun Jun 01 15:40:17 2014 +0200 @@ -966,7 +966,7 @@ ft_win.set_status(file_props, 'ok') h = Hashes() try: - file_ = open(file_props.file_name, 'r') + file_ = open(file_props.file_name, 'rb') except: return hash_ = h.calculateHash(file_props.algo, file_)