This commit is contained in:
Kovid Goyal 2011-03-19 01:32:17 -06:00
parent 5cac5890d9
commit 6393e98e89

View File

@ -143,7 +143,7 @@ class RecipeModel(QAbstractItemModel, SearchQueryParser):
self.favicons = dict([(x, zf.getinfo(x)) for x in zf.namelist() if self.favicons = dict([(x, zf.getinfo(x)) for x in zf.namelist() if
x.endswith('.png')]) x.endswith('.png')])
except: except:
self.favicons = frozenset() self.favicons = {}
self.do_refresh() self.do_refresh()
def get_builtin_recipe(self, urn, download=True): def get_builtin_recipe(self, urn, download=True):