summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2019-10-26 00:40:50 +0200
committerMaxime “pep” Buquet <pep@bouah.net>2019-10-26 00:40:50 +0200
commit86621d59fc0e8f99a108307858c2ae864c521fb4 (patch)
tree8f2959230ef3d2898d8484a86d703b018a2c0a2d
parent4820062b409342979a8e4496cb4b9a80d7434c4c (diff)
downloadpoezio-86621d59fc0e8f99a108307858c2ae864c521fb4.tar.gz
poezio-86621d59fc0e8f99a108307858c2ae864c521fb4.tar.bz2
poezio-86621d59fc0e8f99a108307858c2ae864c521fb4.tar.xz
poezio-86621d59fc0e8f99a108307858c2ae864c521fb4.zip
bookmarks: Bookmark.name should be an str
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r--poezio/bookmarks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/bookmarks.py b/poezio/bookmarks.py
index d9c45be2..074566cd 100644
--- a/poezio/bookmarks.py
+++ b/poezio/bookmarks.py
@@ -55,7 +55,7 @@ class Bookmark:
except InvalidJID:
log.debug('Invalid JID %r provided for bookmark %r', jid, name)
raise
- self.name = name or jid
+ self.name = name or str(jid)
self.autojoin = autojoin
self.nick = nick
self.password = password