Fix artic_multispeaker formatter

This commit is contained in:
Jindrich Matousek 2022-07-20 21:12:16 +02:00
parent a7d2e9b475
commit 61508bf336
1 changed files with 1 additions and 1 deletions

View File

@ -596,7 +596,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):