Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
ad043b5921
|
@@ -9,7 +9,7 @@ def floatAdaptor(i):
|
||||
return float(f"{i:0.2f}") if i else 0.0
|
||||
|
||||
def onOffAdaptor(i):
|
||||
return bool(i)
|
||||
return 'on' if bool(i) else 'off'
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user