fix major tb

This commit is contained in:
Nikos Kouremenos 2005-11-07 13:26:22 +00:00
parent 974b893229
commit 1c9f70638d
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ running instance of Gajim. \nFile Transfer will be canceled.\n==================
for host in file_props['streamhosts']:
if host['state'] != -1:
return
if file_props['failure_cb']:
if file_props.has_key('failure_cb') and file_props['failure_cb']:
file_props['failure_cb'](streamhost['initiator'], streamhost['id'],
file_props['sid'], code = 404)