Remove typo in change-dir notebook

closes #9916
This commit is contained in:
Matthias
2024-03-08 06:39:34 +01:00
parent cab38fb8c3
commit b690325f22
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ from pathlib import Path
project_root = "somedir/freqtrade" project_root = "somedir/freqtrade"
i=0 i=0
try: try:
os.chdirdir(project_root) os.chdir(project_root)
assert Path('LICENSE').is_file() assert Path('LICENSE').is_file()
except: except:
while i<4 and (not Path('LICENSE').is_file()): while i<4 and (not Path('LICENSE').is_file()):
@@ -35,7 +35,7 @@
"project_root = \"somedir/freqtrade\"\n", "project_root = \"somedir/freqtrade\"\n",
"i=0\n", "i=0\n",
"try:\n", "try:\n",
" os.chdirdir(project_root)\n", " os.chdir(project_root)\n",
" assert Path('LICENSE').is_file()\n", " assert Path('LICENSE').is_file()\n",
"except:\n", "except:\n",
" while i<4 and (not Path('LICENSE').is_file()):\n", " while i<4 and (not Path('LICENSE').is_file()):\n",
@@ -181,7 +181,7 @@
"\n", "\n",
"# if backtest_dir points to a directory, it'll automatically load the last backtest file.\n", "# if backtest_dir points to a directory, it'll automatically load the last backtest file.\n",
"backtest_dir = config[\"user_data_dir\"] / \"backtest_results\"\n", "backtest_dir = config[\"user_data_dir\"] / \"backtest_results\"\n",
"# backtest_dir can also point to a specific file \n", "# backtest_dir can also point to a specific file\n",
"# backtest_dir = config[\"user_data_dir\"] / \"backtest_results/backtest-result-2020-07-01_20-04-22.json\"" "# backtest_dir = config[\"user_data_dir\"] / \"backtest_results/backtest-result-2020-07-01_20-04-22.json\""
] ]
}, },