summaryrefslogtreecommitdiff
path: root/poezio/config.py
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2017-10-08 15:09:49 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2017-10-08 15:09:49 +0100
commitae7d2b4f9d6ff20006651417b75c877a7252dceb (patch)
tree1f98b938520536f95b779ee30ccbf3fef3654686 /poezio/config.py
parent3775e476b619b141ea9981a49d7ad8191ef36152 (diff)
downloadpoezio-ae7d2b4f9d6ff20006651417b75c877a7252dceb.tar.gz
poezio-ae7d2b4f9d6ff20006651417b75c877a7252dceb.tar.bz2
poezio-ae7d2b4f9d6ff20006651417b75c877a7252dceb.tar.xz
poezio-ae7d2b4f9d6ff20006651417b75c877a7252dceb.zip
Add a cache for vCard avatars.
Diffstat (limited to 'poezio/config.py')
-rw-r--r--poezio/config.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/poezio/config.py b/poezio/config.py
index b1d09810..c68e8452 100644
--- a/poezio/config.py
+++ b/poezio/config.py
@@ -519,6 +519,7 @@ def check_create_cache_dir():
try:
makedirs(CACHE_DIR)
+ makedirs(path.join(CACHE_DIR, 'avatars'))
makedirs(path.join(CACHE_DIR, 'images'))
except OSError:
pass