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

This commit is contained in:
Cossid
2025-04-29 13:45:42 -05:00
parent ad36091ff5
commit 5c979eeb5e

View File

@@ -68,7 +68,7 @@ def search_device_class_after_compiled_line():
for _ in range(4):
after = read_between_null_or_newline(offset)
offset += len(after) + 1
if after.count('_') > 0:
if after.count('_') > 0 and after.count(' ') == 0:
return after
return ''