diff options
author | Maxime “pep” Buquet <pep@bouah.net> | 2019-10-26 00:40:50 +0200 |
---|---|---|
committer | Maxime “pep” Buquet <pep@bouah.net> | 2019-10-26 00:40:50 +0200 |
commit | 86621d59fc0e8f99a108307858c2ae864c521fb4 (patch) | |
tree | 8f2959230ef3d2898d8484a86d703b018a2c0a2d | |
parent | 4820062b409342979a8e4496cb4b9a80d7434c4c (diff) | |
download | poezio-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.py | 2 |
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 |