|
|
@@ -215,9 +215,8 @@ JSON Array:
|
|
|
"""
|
|
|
current_script_path = os.path.abspath(__file__)
|
|
|
current_dir = os.path.dirname(current_script_path)
|
|
|
-
|
|
|
- file_name = os.path.splitext(file_path)[0] # 不带后缀 11111
|
|
|
-
|
|
|
+ file_full_name = os.path.basename(file_path)
|
|
|
+ file_name = os.path.splitext(file_full_name)[0] # 不带后缀 11111
|
|
|
output_dir = os.path.normpath(os.path.join(current_dir, "..", "..", output_dir))
|
|
|
|
|
|
os.makedirs(output_dir, exist_ok=True)
|