Skip to content

Commit

Permalink
Merge branch 'release-2_14' of https://github.com/QGIS/qgis into rele…
Browse files Browse the repository at this point in the history
…ase-2_14
  • Loading branch information
tomkralidis committed Mar 5, 2017
2 parents 21fb5d5 + 3dc5c9a commit 10617b4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion python/plugins/MetaSearch/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 10617b4

Please sign in to comment.