Skip to content
Permalink
Browse files

MetaSearch: fix help URL (http://hub.qgis.org/issues/16176)

  • Loading branch information
tomkralidis committed Mar 5, 2017
1 parent 19e6015 commit 6822d6b1d077f1d894a90e6ca89842db4a4ee942
Showing with 6 additions and 1 deletion.
  1. +6 −1 python/plugins/MetaSearch/util.py
@@ -138,7 +138,12 @@ def get_help_url():
"""return QGIS MetaSearch help documentation link"""

locale_name = QgsSettings().value('locale/userLocale')[0:2]
version = Qgis.QGIS_VERSION.rsplit('.', 1)[0]
major, minor = QGis.QGIS_VERSION.split('.')[:2]

if minor == '99': # master
version = 'testing'
else:
version = '.'.join([major, minor])

path = '%s/%s/docs/user_manual/plugins/plugins_metasearch.html' % \
(version, locale_name)

0 comments on commit 6822d6b

Please sign in to comment.
You can’t perform that action at this time.