Cast set to list to fix mypy failure in browser.py

This commit is contained in:
Matt Krump 2020-07-26 13:00:06 -06:00
parent b5222f935d
commit 4239c2dfdc

View File

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