[QGIS Commit] r13174 - trunk/qgis/python

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sat Mar 27 13:52:01 EDT 2010


Author: wonder
Date: 2010-03-27 13:52:01 -0400 (Sat, 27 Mar 2010)
New Revision: 13174

Modified:
   trunk/qgis/python/utils.py
Log:
Applied patch from #2582.


Modified: trunk/qgis/python/utils.py
===================================================================
--- trunk/qgis/python/utils.py	2010-03-27 16:51:24 UTC (rev 13173)
+++ trunk/qgis/python/utils.py	2010-03-27 17:52:01 UTC (rev 13174)
@@ -262,6 +262,8 @@
     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 != "":



More information about the QGIS-commit mailing list