Cast set to list to fix mypy failure in browser.py
This commit is contained in:
parent
b5222f935d
commit
4239c2dfdc
@ -2017,7 +2017,7 @@ update cards set usn=?, mod=?, did=? where id in """
|
||||
nids = set()
|
||||
for s, nidlist in res:
|
||||
nids.update(nidlist)
|
||||
self.col.tags.bulkAdd(nids, _("duplicate"))
|
||||
self.col.tags.bulkAdd(list(nids), _("duplicate"))
|
||||
self.mw.progress.finish()
|
||||
self.model.endReset()
|
||||
self.mw.requireReset()
|
||||
|
Loading…
Reference in New Issue
Block a user