diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2014-06-01 17:40:17 +0400 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2014-06-01 17:40:17 +0400 |
commit | a170fd4b8308bc3830569cf4c1cce01ecb0fa75b (patch) | |
tree | 916248ac7da1e19de01da152ab863ca29fa9b992 /src/gui_interface.py | |
parent | 0a77bb574ffb6205870418ccfe7bdf7f60ab3c28 (diff) |
correctly compute hash when doing jingle FT
Diffstat (limited to 'src/gui_interface.py')
-rw-r--r-- | src/gui_interface.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui_interface.py b/src/gui_interface.py index 376fef028..19b2e9b80 100644 --- a/src/gui_interface.py +++ b/src/gui_interface.py @@ -966,7 +966,7 @@ class Interface: 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_) |