From 3db9f2ddd949a4b2dff47ba7831a105bcb81bab4 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sun, 14 Oct 2007 16:15:57 +0000 Subject: [PATCH] [Jonathan Schleifer] fix filetransfer. fixes #3498 --- src/common/connection_handlers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/connection_handlers.py b/src/common/connection_handlers.py index 9cee76b0e..44f9361f5 100644 --- a/src/common/connection_handlers.py +++ b/src/common/connection_handlers.py @@ -463,7 +463,7 @@ class ConnectionBytestream: raise common.xmpp.NodeProcessed if real_id[:3] == 'au_': - if file_props['stopped']: + if file.has_key('stopped') and file_props['stopped']: self.remove_transfer(file_props) else: gajim.socks5queue.send_file(file_props, self.name) @@ -488,7 +488,7 @@ class ConnectionBytestream: raise common.xmpp.NodeProcessed else: - if file_props['stopped']: + if file_props.has_key('stopped') and file_props['stopped']: self.remove_transfer(file_props) else: gajim.socks5queue.send_file(file_props, self.name)