Cleanup new cache code
This commit is contained in:
parent
3e862d517c
commit
e49b36c0f5
@ -29,11 +29,7 @@ class BuddyIconCache(object):
|
|||||||
|
|
||||||
if not os.path.exists(self._cachepath):
|
if not os.path.exists(self._cachepath):
|
||||||
os.makedirs(self._cachepath)
|
os.makedirs(self._cachepath)
|
||||||
self._cache = {}
|
|
||||||
# md5 and server token of the last avatar uploaded
|
|
||||||
self._md5 = ''
|
|
||||||
self._token = ''
|
|
||||||
else:
|
|
||||||
self._load_cache()
|
self._load_cache()
|
||||||
|
|
||||||
def _load_cache(self):
|
def _load_cache(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user