From 8c5c166109ff52644fe2ce67fc7a841d9b96088d Mon Sep 17 00:00:00 2001 From: "Ben V. Brown" Date: Mon, 7 Feb 2022 21:34:01 +1100 Subject: [PATCH] Update metadata.py --- source/metadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/metadata.py b/source/metadata.py index cd672bfc..09458a18 100755 --- a/source/metadata.py +++ b/source/metadata.py @@ -63,7 +63,7 @@ for file_path in output_files: if file_path.endswith(".hex") or file_path.endswith(".dfu"): # Find out what language this file is name: str = os.path.basename(file_path) - matches = re.findall(r"^([a-zA-Z]+)_(.+)\.(.+)$", name) + matches = re.findall(r"^([a-zA-Z0-9]+)_(.+)\.(.+)$", name) if matches: matches = matches[0] if len(matches) == 3: