From 384f574feaa8847cc74bef2790bb1901685998f6 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Sat, 24 Jan 2009 09:00:19 +0000 Subject: [PATCH] Put the database access at beginning; fixes bug in mailing list from Rob H. svn: r11702 --- src/plugins/gramplet/FanChartGramplet.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/gramplet/FanChartGramplet.py b/src/plugins/gramplet/FanChartGramplet.py index 26b4cb115..0634e63ce 100644 --- a/src/plugins/gramplet/FanChartGramplet.py +++ b/src/plugins/gramplet/FanChartGramplet.py @@ -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,