diff options
author | Maxime “pep” Buquet <pep@bouah.net> | 2018-12-15 23:50:11 +0000 |
---|---|---|
committer | Maxime “pep” Buquet <pep@bouah.net> | 2018-12-16 16:57:48 +0000 |
commit | 936e16f98f7b9cf4062de62cc9c5ef30b1e44820 (patch) | |
tree | 8252f43379166ffbc82e329dcb68e5c8509fcf65 | |
parent | f86626a7f43d7669877de17c181596d7644e5cad (diff) | |
download | poezio-936e16f98f7b9cf4062de62cc9c5ef30b1e44820.tar.gz poezio-936e16f98f7b9cf4062de62cc9c5ef30b1e44820.tar.bz2 poezio-936e16f98f7b9cf4062de62cc9c5ef30b1e44820.tar.xz poezio-936e16f98f7b9cf4062de62cc9c5ef30b1e44820.zip |
impromptu: rework string format
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r-- | poezio/core/core.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/poezio/core/core.py b/poezio/core/core.py index 54c33a0d..01748659 100644 --- a/poezio/core/core.py +++ b/poezio/core/core.py @@ -934,7 +934,8 @@ class Core: return nick = self.own_nick - room = uuid.uuid4().hex + '@' + default_muc + localpart = uuid.uuid4().hex + room = '{!s}@{!s}'.format(localpart, default_muc) self.open_new_room(room, nick).join() iq = self._impromptu_room_form(room) |