From 3b9a5080b5589650c87863aee2c418a22a13c2d2 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Sun, 30 Sep 2012 03:00:17 -0400 Subject: [PATCH] Correctly return an error icon and not the error icon's id --- apps/icons/classes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/icons/classes.py b/apps/icons/classes.py index 8c88ec732d..4be8a7e30a 100644 --- a/apps/icons/classes.py +++ b/apps/icons/classes.py @@ -94,7 +94,7 @@ class IconSetBase(object): # return '%s%s/%s/%s/%s' % (settings.STATIC_URL, ICONSETS_STATIC_DIRECTORY, self.directory, size, self.dictionary.get(icon.id, ERROR)) def get_major_minor(self, icon): - return self.dictionary.get(icon.id, ERROR) + return self.dictionary.get(icon.id, self.dictionary.get(ERROR)) def compose(self, icon, size): try: