summaryrefslogtreecommitdiff
path: root/poezio/plugin.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2018-06-29 21:18:09 +0200
committermathieui <mathieui@mathieui.net>2018-07-21 20:20:13 +0200
commita28b9c4422317c6fed4a430dad4a478f462d3854 (patch)
treea664c2168a4e04e9bf5466868e0e899d0fc799d1 /poezio/plugin.py
parent7d9afc6ad40348fb21bf54ec55e14e22d023400e (diff)
downloadpoezio-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.py4
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, _):
"""