Fix a traceback due to a missing '%'

This commit is contained in:
mathieui 2012-08-02 16:32:59 +02:00
parent a66714ac8e
commit 0b8211fe28

View file

@ -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