This commit is contained in:
St.Huang 2018-07-07 14:05:44 +08:00
parent 36c2ca35a2
commit 70acf2e417

View File

@ -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):