correctly compute hash when doing jingle FT
This commit is contained in:
parent
0a77bb574f
commit
a170fd4b83
|
@ -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_)
|
||||
|
|
Loading…
Reference in New Issue