bookmarks: Bookmark.name should be an str
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
4820062b40
commit
86621d59fc
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ class Bookmark:
|
||||||
except InvalidJID:
|
except InvalidJID:
|
||||||
log.debug('Invalid JID %r provided for bookmark %r', jid, name)
|
log.debug('Invalid JID %r provided for bookmark %r', jid, name)
|
||||||
raise
|
raise
|
||||||
self.name = name or jid
|
self.name = name or str(jid)
|
||||||
self.autojoin = autojoin
|
self.autojoin = autojoin
|
||||||
self.nick = nick
|
self.nick = nick
|
||||||
self.password = password
|
self.password = password
|
||||||
|
|
Loading…
Reference in a new issue