From 17d6222e700b4003b0339a4f7774c42f40748ae8 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Sun, 14 Feb 2010 18:45:41 +0000 Subject: [PATCH] Additional test before import svn: r14369 --- src/gui/grampsgui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/grampsgui.py b/src/gui/grampsgui.py index a57a981b6..3eda845ac 100644 --- a/src/gui/grampsgui.py +++ b/src/gui/grampsgui.py @@ -197,7 +197,7 @@ def construct_view_order(): viewstoshow = {} for pdata in view_list: mod = pmgr.load_plugin(pdata) - if not mod: + if not mod or not hasattr(mod, pdata.viewclass): #import of plugin failed ErrorDialog( _('Failed Loading View'),