From 86621d59fc0e8f99a108307858c2ae864c521fb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Sat, 26 Oct 2019 00:40:50 +0200 Subject: [PATCH] bookmarks: Bookmark.name should be an str MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- poezio/bookmarks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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