This commit is contained in:
Kovid Goyal 2016-06-19 23:24:58 +05:30
parent 86216f0092
commit 6a4b5c9005

View File

@ -36,7 +36,7 @@ def displayable_field_keys(mi):
except:
continue
if (
m is not None and m['kind'] == 'field' and m['datatype'] is not None and
m is not None and m.get('kind') == 'field' and m.get('datatype') is not None and
k not in ('au_map', 'marked', 'ondevice', 'cover', 'series_sort') and
not k.endswith('_index')
):