changeset 51c9600fc1f1 in /home/hg/repos/gajim

details:http://hg.gajim.org/gajim?cmd=changeset;node=51c9600fc1f1
description: prevent traceback when using normal socks5 FT

diffstat:

 src/gui_interface.py |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r 4c57cd302a0a -r 51c9600fc1f1 src/gui_interface.py
--- a/src/gui_interface.py      Sat Jul 02 00:47:33 2011 +0200
+++ b/src/gui_interface.py      Sat Jul 02 00:52:35 2011 +0200
@@ -922,7 +922,8 @@
             jid = unicode(file_props['receiver'])
 
         # End jingle session
-        if file_props['session-type'] == 'jingle' and file_props['type'] == 
'r':
+        if file_props.get('session-type') == 'jingle' and file_props['type'] 
==\
+        'r':
             session = gajim.connections[account].get_jingle_session(jid,
                 sid=file_props['session-sid'])
             # get content:
_______________________________________________
Commits mailing list
Commits@gajim.org
http://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to