asahi417 commited on
Commit
8eef092
1 Parent(s): d57d359
Files changed (1) hide show
  1. filter_audio.py +2 -1
filter_audio.py CHANGED
@@ -48,7 +48,8 @@ for i in tqdm(list(range(line_no_start, line_no_end))):
48
  pass
49
  else:
50
  broken_files.append(audio_file)
51
- except LibsndfileError:
 
52
  broken_files.append(audio_file)
53
  print(f"found {len(broken_files)} broken files:")
54
  if len(broken_files) > 0:
 
48
  pass
49
  else:
50
  broken_files.append(audio_file)
51
+ except Exception as e:
52
+ print(e)
53
  broken_files.append(audio_file)
54
  print(f"found {len(broken_files)} broken files:")
55
  if len(broken_files) > 0: