item.count can be None
This commit is contained in:
parent
cb3a9396de
commit
df0138df4a
1 changed files with 2 additions and 0 deletions
2
app.py
2
app.py
|
|
@ -1072,6 +1072,8 @@ def depicts_lookup():
|
|||
|
||||
for alt in q2:
|
||||
item = alt.item
|
||||
if item.count is None:
|
||||
continue
|
||||
hit = {
|
||||
'label': item.label,
|
||||
'description': item.description,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue