summaryrefslogtreecommitdiff
path: root/poezio/tabs/muclisttab.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2016-06-30 23:57:12 +0200
committermathieui <mathieui@mathieui.net>2016-06-30 23:57:12 +0200
commit8383f773413cee8529ad4fdc05f092286d6dd377 (patch)
tree1604936f9b10aa84b929e22c40751b020b8b348d /poezio/tabs/muclisttab.py
parent8f7be37a700aa78f1906e155f79356fcd7e4b260 (diff)
downloadpoezio-8383f773413cee8529ad4fdc05f092286d6dd377.tar.gz
poezio-8383f773413cee8529ad4fdc05f092286d6dd377.tar.bz2
poezio-8383f773413cee8529ad4fdc05f092286d6dd377.tar.xz
poezio-8383f773413cee8529ad4fdc05f092286d6dd377.zip
Use a "core" parameter for each tab object instead of a singleton
fixes the circular import issue
Diffstat (limited to 'poezio/tabs/muclisttab.py')
-rw-r--r--poezio/tabs/muclisttab.py4
1 files changed, 2 insertions, 2 deletions
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)))