From 8383f773413cee8529ad4fdc05f092286d6dd377 Mon Sep 17 00:00:00 2001 From: mathieui Date: Thu, 30 Jun 2016 23:57:12 +0200 Subject: Use a "core" parameter for each tab object instead of a singleton fixes the circular import issue --- poezio/tabs/adhoc_commands_list.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'poezio/tabs/adhoc_commands_list.py') diff --git a/poezio/tabs/adhoc_commands_list.py b/poezio/tabs/adhoc_commands_list.py index 4d396d84..6db654c9 100644 --- a/poezio/tabs/adhoc_commands_list.py +++ b/poezio/tabs/adhoc_commands_list.py @@ -15,8 +15,8 @@ class AdhocCommandsListTab(ListTab): plugin_commands = {} plugin_keys = {} - def __init__(self, jid): - ListTab.__init__(self, jid.full, + def __init__(self, core, jid): + ListTab.__init__(self, core, jid.full, "“Enter”: execute selected command.", 'Ad-hoc commands of JID %s (Loading)' % jid, (('Node', 0), ('Description', 1))) -- cgit v1.2.3