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/bookmarkstab.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'poezio/tabs/bookmarkstab.py') diff --git a/poezio/tabs/bookmarkstab.py b/poezio/tabs/bookmarkstab.py index 2eb138b3..053e45dd 100644 --- a/poezio/tabs/bookmarkstab.py +++ b/poezio/tabs/bookmarkstab.py @@ -17,8 +17,8 @@ class BookmarksTab(Tab): a 4 widgets to set the jid/password/autojoin/storage method """ plugin_commands = {} - def __init__(self, bookmarks: BookmarkList): - Tab.__init__(self) + def __init__(self, core, bookmarks: BookmarkList): + Tab.__init__(self, core) self.name = "Bookmarks" self.bookmarks = bookmarks self.new_bookmarks = [] -- cgit v1.2.3