diff options
author | Ben V. Brown <[email protected]> | 2022-02-07 21:34:01 +1100 |
---|---|---|
committer | Ben V. Brown <[email protected]> | 2022-02-07 21:34:01 +1100 |
commit | 8c5c166109ff52644fe2ce67fc7a841d9b96088d (patch) | |
tree | 1cee385377acb115c818f5f8c2d8bb831b444f8c /source | |
parent | 5e777a97d26638b78c905c8ac896981fa67d1b07 (diff) | |
download | IronOS-8c5c166109ff52644fe2ce67fc7a841d9b96088d.tar.gz IronOS-8c5c166109ff52644fe2ce67fc7a841d9b96088d.zip |
Update metadata.py
Diffstat (limited to 'source')
-rwxr-xr-x | source/metadata.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |