diff options
Diffstat (limited to 'data/example_hooks.py')
-rw-r--r-- | data/example_hooks.py | 2 |
1 files changed, 1 insertions, 1 deletions
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!') |