fix #7
This commit is contained in:
parent
36c2ca35a2
commit
70acf2e417
@ -236,7 +236,7 @@ def update_note_fields(note, results):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
if not results or not note or len(results) == 0:
|
if not results or not note or len(results) == 0:
|
||||||
return
|
return 0
|
||||||
count = 0
|
count = 0
|
||||||
for i, q in results.items():
|
for i, q in results.items():
|
||||||
if isinstance(q, QueryResult) and i < len(note.fields):
|
if isinstance(q, QueryResult) and i < len(note.fields):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user