Fix a traceback due to a missing '%'
This commit is contained in:
parent
a66714ac8e
commit
0b8211fe28
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue