summaryrefslogtreecommitdiff
path: root/poezio/connection.py
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-06-28 14:49:54 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-06-28 14:49:54 +0200
commit7b3a116d7602a25dd71b16133be44a35cb3d7cf1 (patch)
treeca0a1db4b241d73442f044778f128f129f8f4416 /poezio/connection.py
parente846825fc812cdf48717dd1c156d430101e2f5d0 (diff)
downloadpoezio-7b3a116d7602a25dd71b16133be44a35cb3d7cf1.tar.gz
poezio-7b3a116d7602a25dd71b16133be44a35cb3d7cf1.tar.bz2
poezio-7b3a116d7602a25dd71b16133be44a35cb3d7cf1.tar.xz
poezio-7b3a116d7602a25dd71b16133be44a35cb3d7cf1.zip
Replace the '%s' % var pattern with str(var).
Diffstat (limited to 'poezio/connection.py')
-rw-r--r--poezio/connection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/connection.py b/poezio/connection.py
index 69259690..8a74635d 100644
--- a/poezio/connection.py
+++ b/poezio/connection.py
@@ -43,7 +43,7 @@ class Connection(slixmpp.ClientXMPP):
# many features will be handled differently
# depending on this setting
self.anon = False
- jid = '%s' % config.get('jid')
+ jid = config.get('jid')
password = config.get('password')
eval_password = config.get('eval_password')
if not password and not eval_password and not (keyfile