rm unnecessary step

This commit is contained in:
lovac42 2019-08-20 23:31:04 -04:00
parent 0007c98e8d
commit a4a47a0c94

View file

@ -545,7 +545,7 @@ def fieldNamesForNotes(col, nids):
for name in col.models.fieldNames(model): for name in col.models.fieldNames(model):
if name not in fields: #slower w/o if name not in fields: #slower w/o
fields.add(name) fields.add(name)
return sorted(list(fields), key=lambda x: x.lower()) return sorted(fields, key=lambda x: x.lower())
# Find duplicates # Find duplicates
########################################################################## ##########################################################################