Applied patch from #2582.

git-svn-id: http://svn.osgeo.org/qgis/trunk@13174 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
wonder 2010-03-27 17:52:01 +00:00
parent 1b7edf02df
commit 19b1bc77ac

View File

@ -262,6 +262,8 @@ def showPluginHelp(packageName=None,filename="index",section=""):
helpfile = os.path.join(path,filename+"-en.html")
if not os.path.exists(helpfile):
helpfile = os.path.join(path,filename+"-en_US.html")
if not os.path.exists(helpfile):
helpfile = os.path.join(path,filename+".html")
if os.path.exists(helpfile):
url = "file://"+helpfile
if section != "":