From a28b9c4422317c6fed4a430dad4a478f462d3854 Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 29 Jun 2018 21:18:09 +0200 Subject: Update poezio for the new tabs module --- poezio/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'poezio/plugin.py') diff --git a/poezio/plugin.py b/poezio/plugin.py index ff675026..78996788 100644 --- a/poezio/plugin.py +++ b/poezio/plugin.py @@ -202,7 +202,7 @@ class PluginAPI: :returns: The current tab. """ - return self.core.current_tab() + return self.core.tabs.current_tab def get_status(self, _): """ @@ -219,7 +219,7 @@ class PluginAPI: :param str line: The command to run. """ - return self.core.current_tab().execute_command(*args, **kwargs) + return self.core.tabs.current_tab.execute_command(*args, **kwargs) def all_tabs(self, _): """ -- cgit v1.2.3