Ensure icon cache directory exists
This commit is contained in:
parent
8d4d87a081
commit
3e862d517c
@ -28,6 +28,7 @@ class BuddyIconCache(object):
|
||||
self._cachepath = os.path.join(ppath, "cache", "buddy-icons", "cache")
|
||||
|
||||
if not os.path.exists(self._cachepath):
|
||||
os.makedirs(self._cachepath)
|
||||
self._cache = {}
|
||||
# md5 and server token of the last avatar uploaded
|
||||
self._md5 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user