Skip to content
Browse files

[console] Fix invalid regex warning

  • Loading branch information
nyalldawson committed Jun 22, 2018
1 parent 12efb86 commit 398e2a17ddc8d7649003590e997e33d72c5ee540
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/console/
@@ -619,7 +619,7 @@ def runCommand(self, cmd):
import webbrowser
version = 'master' if 'master' in Qgis.QGIS_VERSION.lower() else re.findall('^\d.[0-9]*', Qgis.QGIS_VERSION)[0]
version = 'master' if 'master' in Qgis.QGIS_VERSION.lower() else re.findall(r'^\d.[0-9]*', Qgis.QGIS_VERSION)[0]
if cmd in ('_pyqgis', '_api', '_cookbook'):
if cmd == '_pyqgis':"{}".format(version))

0 comments on commit 398e2a1

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