From 0b8211fe282353c0b4fce8238f7bcb36e4f91d7c Mon Sep 17 00:00:00 2001 From: mathieui Date: Thu, 2 Aug 2012 16:32:59 +0200 Subject: [PATCH] Fix a traceback due to a missing '%' --- src/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connection.py b/src/connection.py index 4b786f7c..658dc9e2 100644 --- a/src/connection.py +++ b/src/connection.py @@ -36,7 +36,7 @@ class Connection(sleekxmpp.ClientXMPP): # depending on this setting jid = '%s' % config.get('jid', '') if resource: - jid = '%s/%s' (jid, resource) + jid = '%s/%s'% (jid, resource) password = config.get('password', '') or getpass.getpass() else: # anonymous auth self.anon = True