Merge pull request #19 from techdavid/tag-suspend-bugfix

Call startEditing before / stopEditing after tagging
This commit is contained in:
Alex Yatskov 2017-08-05 08:59:42 -07:00 committed by GitHub
commit f48e6431b5

View File

@ -376,7 +376,9 @@ class AnkiBridge:
def addTags(self, notes, tags, add=True):
self.startEditing()
aqt.mw.col.tags.bulkAdd(notes, tags, add)
self.stopEditing()
def suspend(self, cards, suspend=True):