summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-08-02 16:32:59 +0200
committermathieui <mathieui@mathieui.net>2012-08-02 16:32:59 +0200
commit0b8211fe282353c0b4fce8238f7bcb36e4f91d7c (patch)
tree84eae62ee69837e90eb52a0b22054ed32518bc99 /src
parenta66714ac8eb75b70d2e2fbdf89799b11abf7227f (diff)
downloadpoezio-0b8211fe282353c0b4fce8238f7bcb36e4f91d7c.tar.gz
poezio-0b8211fe282353c0b4fce8238f7bcb36e4f91d7c.tar.bz2
poezio-0b8211fe282353c0b4fce8238f7bcb36e4f91d7c.tar.xz
poezio-0b8211fe282353c0b4fce8238f7bcb36e4f91d7c.zip
Fix a traceback due to a missing '%'
Diffstat (limited to 'src')
-rw-r--r--src/connection.py2
1 files changed, 1 insertions, 1 deletions
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