Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[pyqgis-console] fix link to c++ api doc
  • Loading branch information
slarosa committed Jul 8, 2018
1 parent 05368e4 commit 059d0e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/console/console_sci.py
Expand Up @@ -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))
Expand Down

0 comments on commit 059d0e2

Please sign in to comment.