Update main.py
Browse files
main.py
CHANGED
|
@@ -34,7 +34,7 @@ def process_txt_files(input_dir: str):
|
|
| 34 |
base_name = os.path.basename(file_path)
|
| 35 |
x1 = base_name.split('_')[0]
|
| 36 |
|
| 37 |
-
output_filename = f"{counter:
|
| 38 |
output_path = os.path.join(PROCESSED_DIR, output_filename)
|
| 39 |
|
| 40 |
with open(file_path, 'r', encoding='utf-8') as f, \
|
|
|
|
| 34 |
base_name = os.path.basename(file_path)
|
| 35 |
x1 = base_name.split('_')[0]
|
| 36 |
|
| 37 |
+
output_filename = f"{counter:02d}_{x1}_FNL.txt"
|
| 38 |
output_path = os.path.join(PROCESSED_DIR, output_filename)
|
| 39 |
|
| 40 |
with open(file_path, 'r', encoding='utf-8') as f, \
|