correctly compute file hash when file is received
This commit is contained in:
parent
1211a1bc59
commit
99b27b4484
|
@ -996,7 +996,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
|
||||
|
|
Loading…
Reference in New Issue