Skip to content

Commit

Permalink
Bury -> Suspend
Browse files Browse the repository at this point in the history
  • Loading branch information
glutanimate committed Mar 6, 2017
1 parent 2b4032c commit 66a6b02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cloze_overlapper/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ def myBurySiblings(self, card, _old):


def onAddNote(self, note, _old):
"""Bury full cloze card if option active"""
"""Suspend full cloze card if option active"""
oldret = _old(self, note)
if not checkModel(note.model(), fields=False, notify=False):
return oldret
Expand All @@ -337,7 +337,7 @@ def onAddNote(self, note, _old):
maxfields = ClozeOverlapper.getMaxFields(note.model(), config["flds"]["tx"])
last = note.cards()[-1]
if last.ord == maxfields: # is full cloze (ord starts at 0)
mw.col.sched.buryCards([last.id])
mw.col.sched.suspendCards([last.id])
return oldret

# Menus
Expand Down

0 comments on commit 66a6b02

Please sign in to comment.