Fixes #1340578 [1.44 breaks column coloring](https://bugs.launchpad.net/calibre/+bug/1340578)
This commit is contained in:
Kovid Goyal 2014-07-11 16:08:54 +05:30
commit b2d4d55d63

View File

@ -55,6 +55,7 @@ class ColumnColor(object): # {{{
self.formatter = formatter
def __call__(self, id_, key, fmt, db, color_cache, template_cache):
key += str(hash(fmt))
if id_ in color_cache and key in color_cache[id_]:
self.mi = None
color = color_cache[id_][key]