diff options
Diffstat (limited to 'poezio/plugin.py')
-rw-r--r-- | poezio/plugin.py | 4 |
1 files changed, 2 insertions, 2 deletions
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, _): """ |