From e49b36c0f5549cb1747ea38282c9833aa551c75d Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Tue, 10 Apr 2007 15:15:21 -0400 Subject: [PATCH] Cleanup new cache code --- services/presence/buddyiconcache.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/services/presence/buddyiconcache.py b/services/presence/buddyiconcache.py index 371b0f54..a7cee3b3 100644 --- a/services/presence/buddyiconcache.py +++ b/services/presence/buddyiconcache.py @@ -29,12 +29,8 @@ class BuddyIconCache(object): if not os.path.exists(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): try: