Additional test before import

svn: r14369
This commit is contained in:
Doug Blank 2010-02-14 18:45:41 +00:00
parent 3cdc9d9791
commit 17d6222e70

View File

@ -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'),