Skip to content
Permalink
Browse files

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

  • Loading branch information
tomkralidis committed Mar 4, 2017
1 parent ec80d9c commit 090bf1bf2a94ec4d2e8e69a515a9e023bf965576
Showing with 6 additions and 1 deletion.
  1. +6 −1 python/plugins/MetaSearch/util.py
@@ -133,7 +133,12 @@ def get_help_url():
"""return QGIS MetaSearch help documentation link"""

locale_name = QSettings().value('locale/userLocale')[0:2]
version = QGis.QGIS_VERSION[:3]
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 090bf1b

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