config.py version !!help in Settings view help fix
This commit is contained in:
@@ -43,7 +43,7 @@ class Config(object):
|
||||
self.values = {}
|
||||
|
||||
try:
|
||||
self.version = pkg_resources.require('bbctrl')[0].version
|
||||
self.version = "1.1.3"
|
||||
|
||||
# Load config template
|
||||
with open(get_resource('http/config-template.json'), 'r',
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
}
|
||||
|
||||
function getTitle(): string {
|
||||
const help = template.help ? `${template.help}\n` : "";
|
||||
const help = (!!template.help) ? `${template.help}\n` : "";
|
||||
return `${help}Default: ${template.default} ${template.unit || ""}`;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user