prevent traceback
This commit is contained in:
parent
96dd70050b
commit
e96432b648
1 changed files with 5 additions and 4 deletions
|
@ -185,10 +185,11 @@ class Interface:
|
||||||
if len(obj.id_) > 3 and obj.id_[2] == '_':
|
if len(obj.id_) > 3 and obj.id_[2] == '_':
|
||||||
sid = obj.id_[3:]
|
sid = obj.id_[3:]
|
||||||
file_props = FilesProp.getFileProp(obj.conn.name, sid)
|
file_props = FilesProp.getFileProp(obj.conn.name, sid)
|
||||||
self.handle_event_file_send_error(obj.conn.name, (obj.fjid,
|
if file_props:
|
||||||
file_props))
|
self.handle_event_file_send_error(obj.conn.name, (obj.fjid,
|
||||||
obj.conn.disconnect_transfer(file_props)
|
file_props))
|
||||||
return
|
obj.conn.disconnect_transfer(file_props)
|
||||||
|
return
|
||||||
|
|
||||||
ctrl = self.msg_win_mgr.get_control(obj.fjid, obj.conn.name)
|
ctrl = self.msg_win_mgr.get_control(obj.fjid, obj.conn.name)
|
||||||
if ctrl and ctrl.type_id == message_control.TYPE_GC:
|
if ctrl and ctrl.type_id == message_control.TYPE_GC:
|
||||||
|
|
Loading…
Add table
Reference in a new issue