summaryrefslogtreecommitdiff
path: root/poezio/core
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-07-05 16:28:44 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-07-05 16:28:44 +0200
commitfcaaa6ef492282bccf60fccbd74e1f493c6a0ccf (patch)
tree99ee05653947075f9d0b12f0b002ada6c5d5a3a7 /poezio/core
parent142180204b8f7581859a68ee162907efa8c6ce24 (diff)
downloadpoezio-fcaaa6ef492282bccf60fccbd74e1f493c6a0ccf.tar.gz
poezio-fcaaa6ef492282bccf60fccbd74e1f493c6a0ccf.tar.bz2
poezio-fcaaa6ef492282bccf60fccbd74e1f493c6a0ccf.tar.xz
poezio-fcaaa6ef492282bccf60fccbd74e1f493c6a0ccf.zip
Add a bunch of str() to convert pathlib.Path into str.
Diffstat (limited to 'poezio/core')
-rw-r--r--poezio/core/core.py2
1 files changed, 1 insertions, 1 deletions
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.