Fix artic_multispeaker formatter

This commit is contained in:
Jindrich Matousek 2023-08-04 13:54:51 +02:00
parent b761d488a7
commit d3661d7d26
1 changed files with 1 additions and 1 deletions

View File

@ -641,7 +641,7 @@ def artic_multispeaker(root_path, meta_file, ignored_speakers=None): # pylint: d
""" """
items = [] items = []
# Loop over speakers: speaker names are subdirs of `root_path` # Loop over speakers: speaker names are subdirs of `root_path`
for pth in glob(f"{root_path}/*", recursive=False): for pth in glob(f"{root_path}/*/", recursive=False):
speaker_name = os.path.basename(pth) speaker_name = os.path.basename(pth)
# Ignore speakers # Ignore speakers
if isinstance(ignored_speakers, list): if isinstance(ignored_speakers, list):