diff --git a/anki/hooks.py b/anki/hooks.py index 520c92bd8..7c5270bce 100644 --- a/anki/hooks.py +++ b/anki/hooks.py @@ -39,7 +39,7 @@ def addHook(hook, func): if func not in _hooks[hook]: _hooks[hook].append(func) -def removeHook(hook, func): +def remHook(hook, func): "Remove a function if is on hook." hook = _hooks.get(hook, []) if func in hook: