From 52234f9d9a4f8669fe7a35ea0d48a677c79d2e5c Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 6 Dec 2011 00:12:36 +0900 Subject: [PATCH] removeHook -> remHook --- anki/hooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: