Skip to content
Permalink
Browse files

MetaSearch: fix help link, pep8

  • Loading branch information
tomkralidis committed Feb 24, 2015
1 parent 9798c92 commit 3deb211d141f5512a0060d163e1dac3a313c078a
Showing with 4 additions and 4 deletions.
  1. +3 −3 python/plugins/MetaSearch/dialogs/maindialog.py
  2. +1 −1 python/plugins/MetaSearch/util.py
@@ -51,8 +51,8 @@
from MetaSearch.dialogs.recorddialog import RecordDialog
from MetaSearch.dialogs.xmldialog import XMLDialog
from MetaSearch.util import (get_connections_from_file, get_ui_class,
highlight_xml, normalize_text, open_url,
render_template, StaticContext)
get_help_url, highlight_xml, normalize_text,
open_url, render_template, StaticContext)

BASE_CLASS = get_ui_class('maindialog.ui')

@@ -784,7 +784,7 @@ def reset_buttons(self, services=True, xml=True, navigation=True):
def help(self):
"""launch help"""

open_url(self.context.metadata.get('general', 'homepage'))
open_url(get_help_url())

def reject(self):
"""back out of dialogue"""
@@ -132,7 +132,7 @@ def get_help_url():
version = QGis.QGIS_VERSION[:3]

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

return '/'.join(['http://docs.qgis.org', path])

0 comments on commit 3deb211

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