Merge pull request #5490 from mash-graz/fix-luci-olsrd-protect-format-literals

This commit is contained in:
Jo-Philipp Wich 2021-11-06 14:53:57 +01:00 committed by GitHub
commit 0d8b018d19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,7 +89,8 @@ return baseclass.extend({
opts[dsn2] = { color: "0000ff", title: "NLQ (%s)".format(host), flip: true }; opts[dsn2] = { color: "0000ff", title: "NLQ (%s)".format(host), flip: true };
g.push({ g.push({
title: "%H: Signal Quality (%s)".format(host), vlabel: "ETX", title: "%%H: Signal Quality (%s)".format(host),
vlabel: "ETX",
number_format: "%5.2lf", detail: true, number_format: "%5.2lf", detail: true,
data: { data: {
types: [ "signal_quality" ], types: [ "signal_quality" ],