mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
rm unnecessary step
This commit is contained in:
parent
0007c98e8d
commit
a4a47a0c94
1 changed files with 1 additions and 1 deletions
|
@ -545,7 +545,7 @@ def fieldNamesForNotes(col, nids):
|
|||
for name in col.models.fieldNames(model):
|
||||
if name not in fields: #slower w/o
|
||||
fields.add(name)
|
||||
return sorted(list(fields), key=lambda x: x.lower())
|
||||
return sorted(fields, key=lambda x: x.lower())
|
||||
|
||||
# Find duplicates
|
||||
##########################################################################
|
||||
|
|
Loading…
Reference in a new issue