From 1c9f70638d5c3f34d848d1dc245dbf40f404e1cd Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Mon, 7 Nov 2005 13:26:22 +0000 Subject: [PATCH] fix major tb --- src/common/socks5.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/socks5.py b/src/common/socks5.py index b0a681680..e14fd9889 100644 --- a/src/common/socks5.py +++ b/src/common/socks5.py @@ -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)