Put the database access at beginning; fixes bug in mailing list from Rob H.

svn: r11702
This commit is contained in:
Doug Blank 2009-01-24 09:00:19 +00:00
parent 142108337c
commit 384f574fea

View File

@ -490,6 +490,7 @@ class FanChartGramplet(Gramplet):
The Gramplet code that realizes the FanChartWidget.
"""
def init(self):
self.sa = SimpleAccess(self.dbstate.db)
self.set_tooltip("Click to expand/contract person\nRight-click to make person active")
self.generations = 6
self.gui.fan = FanChartWidget(self.generations,