missed a call of os.path. removed it.
This commit is contained in:
parent
9df1c23c71
commit
2bc67b4a96
@ -16,8 +16,9 @@
|
|||||||
"# Change directory\n",
|
"# Change directory\n",
|
||||||
"# Define all paths relative to the project root shown in the cell output\n",
|
"# Define all paths relative to the project root shown in the cell output\n",
|
||||||
"import os\n",
|
"import os\n",
|
||||||
|
"from pathlib import Path\n",
|
||||||
"try:\n",
|
"try:\n",
|
||||||
"\tos.chdir(os.path.join(os.getcwd(), '../..'))\n",
|
"\tos.chdir(Path(os.getcwd(), '../..'))\n",
|
||||||
"\tprint(os.getcwd())\n",
|
"\tprint(os.getcwd())\n",
|
||||||
"except:\n",
|
"except:\n",
|
||||||
"\tpass"
|
"\tpass"
|
||||||
|
Loading…
Reference in New Issue
Block a user