Skip to content

Commit

Permalink
fixing dir remove issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jharajeev55 committed Apr 5, 2024
1 parent 4ae660c commit 6097646
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import os
import json
import shutil
import sys
import Configuration
from Configuration import CHANNELS, HELP_FILE_FOLDER_PATH, MODEL_NUMBER, OUTPUT_FOLDER_PATH
Expand All @@ -11,7 +12,7 @@ def parse_web_help_files(webHelpFoldersDir):

output_folder = "data"
if os.path.exists(output_folder):
os.removedirs(Configuration.OUTPUT_FOLDER_PATH)
shutil.rmtree(Configuration.OUTPUT_FOLDER_PATH)
os.makedirs(output_folder)

supported2600bInfo = {"2601B":["a"],
Expand Down

0 comments on commit 6097646

Please sign in to comment.