Skip to content
Permalink
Browse files

[pyqgis-console] fix link to c++ api doc

  • Loading branch information
slarosa committed Jul 8, 2018
1 parent 05368e4 commit 059d0e21c49cf1a60e335a5cb10814c6123d584c
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/console/console_sci.py
@@ -624,7 +624,7 @@ def runCommand(self, cmd):
if cmd == '_pyqgis':
webbrowser.open("https://qgis.org/pyqgis/{}".format(version))
elif cmd == '_api':
webbrowser.open("https://qgis.org/api/{}".format(version))
webbrowser.open("https://qgis.org/api/{}".format('' if version == 'master' else version))
elif cmd == '_cookbook':
webbrowser.open("https://docs.qgis.org/{}/en/docs/pyqgis_developer_cookbook/".format(
'testing' if version == 'master' else version))

0 comments on commit 059d0e2

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