From a6cbde6c6154f50b701612569d073cbab86bd7cf Mon Sep 17 00:00:00 2001 From: pazz Date: Sun, 17 Jul 2011 18:11:31 +0100 Subject: vim-like single word commands: issue #51 --- data/example_hooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/example_hooks.py') diff --git a/data/example_hooks.py b/data/example_hooks.py index 2c9baf75..1c1e0e9d 100644 --- a/data/example_hooks.py +++ b/data/example_hooks.py @@ -1,5 +1,5 @@ # hooks get two parameters, an alot.ui.UI object, and an alt.db.DBManager object # for all commands X, pre_X gets called before, post_X after X is applied. -def pre_shutdown(ui,dbman): +def pre_exit(ui, dbman): ui.logger.info('goodbye!') -- cgit v1.2.3