summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2019-10-14 13:47:48 +0200
committerMaxime “pep” Buquet <pep@bouah.net>2019-10-14 13:47:48 +0200
commit2ff5fdf34778d9fab0e08c7388acd2c06a040734 (patch)
treec00b016f7f7f075bedfed3d1ba1a1d2f5cc75c3b
parent1e45e265a1705a0a4d6f99b8290fdd2f855e52be (diff)
downloadpoezio-2ff5fdf34778d9fab0e08c7388acd2c06a040734.tar.gz
poezio-2ff5fdf34778d9fab0e08c7388acd2c06a040734.tar.bz2
poezio-2ff5fdf34778d9fab0e08c7388acd2c06a040734.tar.xz
poezio-2ff5fdf34778d9fab0e08c7388acd2c06a040734.zip
bookmarks: use str where str is expected
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 a812ef03..d9c45be2 100644
--- a/poezio/bookmarks.py
+++ b/poezio/bookmarks.py
@@ -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 += ':'