diff options
author | Yann Leboulanger <yann@leboulanger.org> | 2017-12-03 22:09:06 +0300 |
---|---|---|
committer | Yann Leboulanger <yann@leboulanger.org> | 2017-12-03 22:09:06 +0300 |
commit | 12914d5c0b344fe6dfcbe8ac4870d1725686e729 (patch) | |
tree | 2514be922b6871b1323336c8aebd3b3b0c3b240f | |
parent | 80bd3dcbf8ce65d8180b7fded5cf2997fc585075 (diff) |
correctly compute file hash when file is receivedgajim-0.16.9
-rw-r--r-- | src/gui_interface.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui_interface.py b/src/gui_interface.py index fbd9673f9..1903abdba 100644 --- a/src/gui_interface.py +++ b/src/gui_interface.py @@ -1006,7 +1006,8 @@ class Interface: file_props=file_props)) else: ft.set_status(file_props, 'stop') - if file_props.stalled or file_props.paused: + if not file_props.completed and (file_props.stalled or \ + file_props.paused): return if file_props.type_ == 'r': # we receive a file |