Allow GENERAL plugins to have category, and more flexibility

svn: r15699
This commit is contained in:
Doug Blank
2010-08-10 13:14:09 +00:00
parent aca9b9cb5c
commit f55cd42926
3 changed files with 24 additions and 16 deletions

View File

@@ -832,9 +832,10 @@ Location: %(fpath)s
return
id = model.get_value(node, id_col)
pdata = self.__preg.get_plugin(id)
open_file_with_default_application(
os.path.join(pdata.fpath, pdata.fname)
)
if pdata.fpath and pdata.fname:
open_file_with_default_application(
os.path.join(pdata.fpath, pdata.fname)
)
#-------------------------------------------------------------------------
#