mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
check for len > 1 (#9586)
This commit is contained in:
@@ -41,7 +41,7 @@
|
|||||||
"#install jupyter-book\r\n",
|
"#install jupyter-book\r\n",
|
||||||
"cmd = f'{sys.executable} -m pip show jupyter-book'\r\n",
|
"cmd = f'{sys.executable} -m pip show jupyter-book'\r\n",
|
||||||
"cmdOutput = !{cmd}\r\n",
|
"cmdOutput = !{cmd}\r\n",
|
||||||
"if len(cmdOutput) > 0 and '0.6.4' in cmdOutput[1]:\r\n",
|
"if len(cmdOutput) > 1 and '0.6.4' in cmdOutput[1]:\r\n",
|
||||||
" print('Jupyter-book required version is already installed!')\r\n",
|
" print('Jupyter-book required version is already installed!')\r\n",
|
||||||
"else:\r\n",
|
"else:\r\n",
|
||||||
" !pip install jupyter-book"
|
" !pip install jupyter-book"
|
||||||
|
|||||||
Reference in New Issue
Block a user