dotfiles

My dotfiles
git clone https://git.neuralcrash.com/dotfiles.git
Log | Files | Refs

__init__.py (383B)


      1 # Credit goes to https://eshapard.github.io/
      2 #
      3 from __future__ import division
      4 from anki.hooks import addHook
      5 from aqt import mw
      6 from aqt.utils import tooltip
      7 #from aqt.utils import showInfo
      8 import math
      9 
     10 def easeAdjustFunc():        
     11     
     12 
     13     #Set new card ease factor
     14     mw.reviewer.card.factor = 2500
     15 
     16 addHook('showQuestion', easeAdjustFunc)
     17 addHook('showAnswer', easeAdjustFunc)