summaryrefslogtreecommitdiff
path: root/poezio/connection.py
diff options
context:
space:
mode:
Diffstat (limited to 'poezio/connection.py')
-rw-r--r--poezio/connection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/connection.py b/poezio/connection.py
index 0cbff1a5..aba4a2f0 100644
--- a/poezio/connection.py
+++ b/poezio/connection.py
@@ -121,7 +121,7 @@ class Connection(slixmpp.ClientXMPP):
# Must be loaded before 0030.
self.register_plugin('xep_0115', {
'caps_node': 'https://poez.io',
- 'cache': FileSystemCache(xdg.CACHE_HOME, 'caps', encode=str,
+ 'cache': FileSystemCache(str(xdg.CACHE_HOME), 'caps', encode=str,
decode=lambda x: DiscoInfo(ET.fromstring(x))),
})
self.register_plugin('xep_0030')