mirror of
https://github.com/tuya-cloudcutter/tuya-cloudcutter.git
synced 2026-02-19 21:51:18 +01:00
Profile building - process_app - Don't allow spaces in device class.
This commit is contained in:
@@ -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 ''
|
||||
|
||||
|
||||
Reference in New Issue
Block a user