fixing _populate_issues
This commit is contained in:
@@ -611,11 +611,12 @@ class RotaryHandler(bbctrl.APIHandler):
|
||||
log = self.get_log('RotaryHandler')
|
||||
|
||||
try:
|
||||
onefinity_defaults_path = bbctrl.get_resource('onefinity_defaults.json')
|
||||
onefinity_defaults_path = bbctrl.get_resource('http/onefinity_defaults.json')
|
||||
template_path = bbctrl.get_resource('http/config-template.json')
|
||||
|
||||
with open(onefinity_defaults_path, 'r') as f:
|
||||
defaults = json.load(f)
|
||||
|
||||
template_path = bbctrl.get_resource('config-template.json')
|
||||
with open(template_path, 'r') as f:
|
||||
template = json.load(f)
|
||||
|
||||
|
||||
@@ -246,6 +246,11 @@
|
||||
"index": "0123",
|
||||
"default": [{ "axis": "X" }, { "axis": "Y" }, { "axis": "Z" }, { "axis": "A" }],
|
||||
"template": {
|
||||
"axis": {
|
||||
"type": "enum",
|
||||
"values": ["X", "Y", "Z", "A", "B", "C"],
|
||||
"default": "X"
|
||||
},
|
||||
"min-soft-limit": {
|
||||
"type": "float",
|
||||
"default": 0
|
||||
|
||||
Reference in New Issue
Block a user