bookmarks: use str where str is expected

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2019-10-14 13:47:48 +02:00
parent 1e45e265a1
commit 2ff5fdf347
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2

View file

@ -92,7 +92,7 @@ class Bookmark:
def local(self) -> str:
"""Generate a str for local storage"""
local = self.jid
local = str(self.jid)
if self.nick:
local += '/%s' % self.nick
local += ':'