Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/services/presence/BuddyIconCache.py
diff options
context:
space:
mode:
Diffstat (limited to 'services/presence/BuddyIconCache.py')
-rw-r--r--services/presence/BuddyIconCache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/presence/BuddyIconCache.py b/services/presence/BuddyIconCache.py
index 59d5e88..d1bec70 100644
--- a/services/presence/BuddyIconCache.py
+++ b/services/presence/BuddyIconCache.py
@@ -31,7 +31,7 @@ class BuddyIconCache(object):
return data
def get_icon(self, printable_hash):
- if type(printable_hash) != type(u""):
+ if not isinstance(printable_hash, unicode):
raise RuntimeError("printable_hash must be a unicode string.")
try:
fname = self._cache[printable_hash]