summaryrefslogtreecommitdiff
path: root/alot/ui.py
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2013-02-17 22:43:24 +0000
committerPatrick Totzke <patricktotzke@gmail.com>2013-02-19 18:50:05 +0000
commitdb4865aba8cf7406d1450e18b20a7ab636adb566 (patch)
tree3f2d19e1b7ee40f34a74cb13ec82fa3aa923b1aa /alot/ui.py
parent99a793e2d015c5cd890e40263522d0ec42a54e3a (diff)
fix: forgot buf parameter for post_buffer_open hook
Diffstat (limited to 'alot/ui.py')
-rw-r--r--alot/ui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/ui.py b/alot/ui.py
index f0663b8b..42d6e56d 100644
--- a/alot/ui.py
+++ b/alot/ui.py
@@ -279,7 +279,7 @@ class UI(object):
# call post_buffer_open hook
posthook = settings.get_hook('post_buffer_open')
if posthook is not None:
- posthook(ui=self, dbm=self.dbman)
+ posthook(ui=self, dbm=self.dbman, buf=buf)
def buffer_close(self, buf):
"""