From 056fabcb5ddcebdec4c0e9a76f9bff29a3cb1bb6 Mon Sep 17 00:00:00 2001 From: Tom Denton Date: Mon, 15 Jan 2024 08:34:54 -0800 Subject: [PATCH] Fix an error when creating a source_infos map. PiperOrigin-RevId: 598617028 --- chirp/projects/bootstrap/bootstrap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chirp/projects/bootstrap/bootstrap.py b/chirp/projects/bootstrap/bootstrap.py index 514a9c1a..aefd7e77 100644 --- a/chirp/projects/bootstrap/bootstrap.py +++ b/chirp/projects/bootstrap/bootstrap.py @@ -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: