Skip to content
Snippets Groups Projects
Commit a2f699ca authored by Nils Schneider's avatar Nils Schneider
Browse files

gluon-config-mode: avoid string.format("%f", ...

An undocumented feature of uci:get_first() is to cast the returned value
to the same type as the default argument. Thus, supplying a default
value ot type number makes string.format superfluous.
parent 96b213c3
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment