diff options
author | mathieui <mathieui@mathieui.net> | 2018-06-29 21:18:09 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2018-06-29 21:34:23 +0200 |
commit | 28ce49dcaaa1f7e958e09aff2af7d1e956796ad9 (patch) | |
tree | c1ffc7d4f9909080abd6dd2875a66f948879f00f /poezio/plugin.py | |
parent | 39695ba42d9183584edb6c6b93b02b04be67f126 (diff) | |
download | poezio-28ce49dcaaa1f7e958e09aff2af7d1e956796ad9.tar.gz poezio-28ce49dcaaa1f7e958e09aff2af7d1e956796ad9.tar.bz2 poezio-28ce49dcaaa1f7e958e09aff2af7d1e956796ad9.tar.xz poezio-28ce49dcaaa1f7e958e09aff2af7d1e956796ad9.zip |
Update poezio for the new tabs module
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 359f1148..016d3199 100644 --- a/poezio/plugin.py +++ b/poezio/plugin.py @@ -204,7 +204,7 @@ class PluginAPI(object): :returns: The current tab. """ - return self.core.current_tab() + return self.core.tabs.current_tab def get_status(self, _): """ @@ -221,7 +221,7 @@ class PluginAPI(object): :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, _): """ |