diff options
author | mathieui <mathieui@mathieui.net> | 2018-06-29 21:18:09 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2018-07-21 20:20:13 +0200 |
commit | a28b9c4422317c6fed4a430dad4a478f462d3854 (patch) | |
tree | a664c2168a4e04e9bf5466868e0e899d0fc799d1 /poezio/plugin.py | |
parent | 7d9afc6ad40348fb21bf54ec55e14e22d023400e (diff) | |
download | poezio-a28b9c4422317c6fed4a430dad4a478f462d3854.tar.gz poezio-a28b9c4422317c6fed4a430dad4a478f462d3854.tar.bz2 poezio-a28b9c4422317c6fed4a430dad4a478f462d3854.tar.xz poezio-a28b9c4422317c6fed4a430dad4a478f462d3854.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 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, _): """ |