correctly compute hash when doing jingle FT

This commit is contained in:
Yann Leboulanger 2014-06-01 15:40:17 +02:00
parent 0a77bb574f
commit a170fd4b83
1 changed files with 1 additions and 1 deletions

View File

@ -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_)