param json: ensure category is set to Standard if not set

For xml this was previously done on the QGC side.
This commit is contained in:
Beat Küng
2021-03-30 08:18:49 +02:00
parent 2d2799b739
commit 42a865f349
+2
View File
@@ -51,6 +51,8 @@ class JsonOutput():
curr_param['group'] = group_name
if param.GetCategory():
curr_param['category'] = param.GetCategory()
else:
curr_param['category'] = 'Standard'
if param.GetVolatile():
curr_param['volatile'] = True