Skip to content

Commit

Permalink
Fix an error when creating a source_infos map.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 598617028
  • Loading branch information
sdenton4 authored and copybara-github committed Jan 15, 2024
1 parent 043ff73 commit 056fabc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chirp/projects/bootstrap/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def create_source_map(self):
"""Map filenames to full filepaths."""
if self.config.audio_globs is None:
raise ValueError('Cannot create source map with no audio globs.')
source_infos = embed_lib.create_source_infos(self.config.audio_globs, 1, -1)
source_infos = embed_lib.create_source_infos(self.config.audio_globs, -1)

self.source_map = {}
for s in source_infos:
Expand Down

0 comments on commit 056fabc

Please sign in to comment.