Cleanup new cache code

This commit is contained in:
Dan Williams 2007-04-10 15:15:21 -04:00
parent 3e862d517c
commit e49b36c0f5

View File

@ -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):