From fcaaa6ef492282bccf60fccbd74e1f493c6a0ccf Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Thu, 5 Jul 2018 16:28:44 +0200 Subject: Add a bunch of str() to convert pathlib.Path into str. --- poezio/core/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'poezio/core/core.py') diff --git a/poezio/core/core.py b/poezio/core/core.py index 8356c025..1aa244c0 100644 --- a/poezio/core/core.py +++ b/poezio/core/core.py @@ -77,7 +77,7 @@ class Core(object): self.bookmarks = BookmarkList() self.debug = False self.remote_fifo = None - self.avatar_cache = FileSystemPerJidCache(xdg.CACHE_HOME, 'avatars', binary=True) + self.avatar_cache = FileSystemPerJidCache(str(xdg.CACHE_HOME), 'avatars', binary=True) # a unique buffer used to store global information # that are displayed in almost all tabs, in an # information window. -- cgit v1.2.3