prevent traceback

This commit is contained in:
Yann Leboulanger 2012-08-23 14:21:26 +02:00
parent 96dd70050b
commit e96432b648
1 changed files with 5 additions and 4 deletions

View File

@ -185,6 +185,7 @@ class Interface:
if len(obj.id_) > 3 and obj.id_[2] == '_':
sid = obj.id_[3:]
file_props = FilesProp.getFileProp(obj.conn.name, sid)
if file_props:
self.handle_event_file_send_error(obj.conn.name, (obj.fjid,
file_props))
obj.conn.disconnect_transfer(file_props)