Profile building - process_app - Don't allow spaces in device class.

This commit is contained in:
Cossid
2023-11-29 19:12:10 -06:00
parent b874566333
commit 14c2cc387b

View File

@@ -82,7 +82,7 @@ def search_device_class_after_chipid(chipid: str):
for _ in range(3):
after = read_between_null_or_newline(offset)
offset += len(after) + 1
if after.count('_') > 0 and after.count('__') == 0:
if after.count('_') > 0 and after.count('__') == 0 and after.count(' ') == 0:
return after
return ''