NagisaNao commited on
Commit
74481b2
·
verified ·
1 Parent(s): cfe272b

fixing the cleaning after downloading...

Browse files
files_cells/notebooks/en/downloading_en.ipynb CHANGED
@@ -505,7 +505,7 @@
505
  "\n",
506
  "\n",
507
  "# Cleaning shit after downloading...\n",
508
- "!find \\( -name \".ipynb_checkpoints\" -o -name \".aria2\" \\) -type d -exec rm -r {} \\; >/dev/null 2>&1\n",
509
  "\n",
510
  "\n",
511
  "## Install of Custom extensions\n",
 
505
  "\n",
506
  "\n",
507
  "# Cleaning shit after downloading...\n",
508
+ "!find {webui_path} \\( -type d \\( -name \".ipynb_checkpoints\" -o -name \".aria2\" \\) -o -type f -name \"*.aria2\" \\) -exec rm -r {{}} \\; >/dev/null 2>&1\n",
509
  "\n",
510
  "\n",
511
  "## Install of Custom extensions\n",
files_cells/notebooks/ru/downloading_ru.ipynb CHANGED
@@ -505,7 +505,7 @@
505
  "\n",
506
  "\n",
507
  "# Cleaning shit after downloading...\n",
508
- "!find \\( -name \".ipynb_checkpoints\" -o -name \".aria2\" \\) -type d -exec rm -r {} \\; >/dev/null 2>&1\n",
509
  "\n",
510
  "\n",
511
  "## Install of Custom extensions\n",
 
505
  "\n",
506
  "\n",
507
  "# Cleaning shit after downloading...\n",
508
+ "!find {webui_path} \\( -type d \\( -name \".ipynb_checkpoints\" -o -name \".aria2\" \\) -o -type f -name \"*.aria2\" \\) -exec rm -r {{}} \\; >/dev/null 2>&1\n",
509
  "\n",
510
  "\n",
511
  "## Install of Custom extensions\n",
files_cells/python/en/downloading_en.py CHANGED
@@ -486,7 +486,7 @@ print("\r🏁 Download Complete!" + " "*15)
486
 
487
 
488
  # Cleaning shit after downloading...
489
- get_ipython().system('find \\( -name ".ipynb_checkpoints" -o -name ".aria2" \\) -type d -exec rm -r {} \\; >/dev/null 2>&1')
490
 
491
 
492
  ## Install of Custom extensions
 
486
 
487
 
488
  # Cleaning shit after downloading...
489
+ get_ipython().system('find {webui_path} \\( -type d \\( -name ".ipynb_checkpoints" -o -name ".aria2" \\) -o -type f -name "*.aria2" \\) -exec rm -r {{}} \\; >/dev/null 2>&1')
490
 
491
 
492
  ## Install of Custom extensions
files_cells/python/ru/downloading_ru.py CHANGED
@@ -486,7 +486,7 @@ print("\r🏁 Скачивание Завершено!" + " "*15)
486
 
487
 
488
  # Cleaning shit after downloading...
489
- get_ipython().system('find \\( -name ".ipynb_checkpoints" -o -name ".aria2" \\) -type d -exec rm -r {} \\; >/dev/null 2>&1')
490
 
491
 
492
  ## Install of Custom extensions
 
486
 
487
 
488
  # Cleaning shit after downloading...
489
+ get_ipython().system('find {webui_path} \\( -type d \\( -name ".ipynb_checkpoints" -o -name ".aria2" \\) -o -type f -name "*.aria2" \\) -exec rm -r {{}} \\; >/dev/null 2>&1')
490
 
491
 
492
  ## Install of Custom extensions