From 93e895dde18b4431dc344c986a78a7f66c8525db Mon Sep 17 00:00:00 2001 From: Alexander Cherniuk Date: Mon, 3 May 2010 06:42:37 +0300 Subject: [PATCH] Micro code improvement --- 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 a9a501b18..2ffc5549a 100644 --- a/src/common/connection_handlers.py +++ b/src/common/connection_handlers.py @@ -643,8 +643,8 @@ class ConnectionVcard: namespace=common.xmpp.NS_ROSTER_VER): version = gajim.config.get_per('accounts', self.name, 'roster_version') - if version and not len(gajim.contacts.get_contacts_jid_list( - self.name)): + if version and not gajim.contacts.get_contacts_jid_list( + self.name): gajim.config.set_per('accounts', self.name, 'roster_version', '') version = None