tests.py fix
This commit is contained in:
parent
b807daa3ff
commit
3a90865fd0
3 changed files with 6 additions and 7 deletions
|
@ -25,7 +25,7 @@ class Friend(contact.Contact):
|
|||
"""
|
||||
try:
|
||||
tr = list(filter(lambda x: x.get_type() == MESSAGE_TYPE['FILE_TRANSFER'] and x.is_active(file_number),
|
||||
self._corr))[0]
|
||||
self._corr))[0]
|
||||
tr.set_status(status)
|
||||
i = self._corr.index(tr)
|
||||
if inline: # inline was loaded
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue