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/muclisttab.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'poezio/tabs/muclisttab.py') diff --git a/poezio/tabs/muclisttab.py b/poezio/tabs/muclisttab.py index ec60d245..5a860b6b 100644 --- a/poezio/tabs/muclisttab.py +++ b/poezio/tabs/muclisttab.py @@ -19,8 +19,8 @@ class MucListTab(ListTab): plugin_commands = {} plugin_keys = {} - def __init__(self, server): - ListTab.__init__(self, server, + def __init__(self, core, server): + ListTab.__init__(self, core, server, "ā€œjā€: join room.", 'Chatroom list on server %s (Loading)' % server, (('node-part', 0), ('name', 2), ('users', 3))) -- cgit v1.2.3