mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-19 23:15:05 +00:00
Fix for int defaults
This commit is contained in:
parent
24cce1bd2a
commit
20f358ebe5
@ -63,6 +63,8 @@ def property_to_string(property: DeviceProperty, devices: list[Device]) -> str:
|
|||||||
type = property.type
|
type = property.type
|
||||||
if type == "value":
|
if type == "value":
|
||||||
return property.value
|
return property.value
|
||||||
|
elif type == "int":
|
||||||
|
return property.value
|
||||||
elif type == "boolean":
|
elif type == "boolean":
|
||||||
return "true"
|
return "true"
|
||||||
elif type == "text":
|
elif type == "text":
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user