YchKhan commited on
Commit
9a0115c
1 Parent(s): dff91aa

Update split_files_to_excel.py

Browse files
Files changed (1) hide show
  1. split_files_to_excel.py +1 -1
split_files_to_excel.py CHANGED
@@ -581,7 +581,7 @@ def split_in_df(files):
581
  if file_path.endswith('.zip'):
582
  extracted_files = extract_zip(file_path)
583
  processed_files.extend(extracted_files)
584
- base_folders.extend([[os.path.splitext(os.path.basename(file_path))[0]] * len(extracted_files)])
585
  else:
586
  processed_files.append(file_path)
587
  base_folders.append("")
 
581
  if file_path.endswith('.zip'):
582
  extracted_files = extract_zip(file_path)
583
  processed_files.extend(extracted_files)
584
+ base_folders.extend([os.path.splitext(os.path.basename(file_path))[0]] * len(extracted_files))
585
  else:
586
  processed_files.append(file_path)
587
  base_folders.append("")